TTMSFNCGraphics.ClipRect Method
Restricts all subsequent drawing to the floating-point rectangle
ARect. Combine withResetClipon the context to restore the full drawing area.
API unit family: TMSFNCGraphics
Declaring type: TTMSFNCGraphics
Overloads
Overload 1
Restricts all subsequent drawing to the floating-point rectangle
ARect. Combine withResetClipon the context to restore the full drawing area.
procedure ClipRect(ARect: TRectF); overload; virtual;
Parameters
| Name | Description |
|---|---|
ARect |
Clipping rectangle in floating-point pixels. |
Overload 2
Restricts all subsequent drawing to the integer rectangle
ARect. Combine withResetClipon the context to restore the full drawing area.
procedure ClipRect(ARect: TRect); overload; virtual;
Parameters
| Name | Description |
|---|---|
ARect |
Clipping rectangle in integer pixels. |