Skip to main content
Pie
ra0

TcxCanvas.InvertFrame(TRect,Integer) Method

Inverts colors within a rectangular outline on the canvas.

Declaration

procedure InvertFrame(const R: TRect; ABorderSize: Integer);

Parameters

Name Type
R TRect
ABorderSize Integer

Remarks

Call this procedure and pass a TRect as the R parameter to invert all pixel colors within a thin rectangular frame whose width in pixels is passed as the ABorderSize parameters.

See Also