Skip to main content
Table of Contents

TTMSFNCGraphics.ClipRect Method

Restricts all subsequent drawing to the floating-point rectangle ARect. Combine with ResetClip on 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 with ResetClip on the context to restore the full drawing area.

FMX.TMSFNCGraphics.hppPascalC++
procedure ClipRect(ARect: TRectF); overload; virtual;
virtual void __fastcall ClipRect(const System::Types::TRectF &ARect)/* overload */;

Parameters

Name Description
ARect Clipping rectangle in floating-point pixels.

Overload 2

Restricts all subsequent drawing to the integer rectangle ARect. Combine with ResetClip on the context to restore the full drawing area.

FMX.TMSFNCGraphics.hppPascalC++
procedure ClipRect(ARect: TRect); overload; virtual;
virtual void __fastcall ClipRect(const System::Types::TRect &ARect)/* overload */;

Parameters

Name Description
ARect Clipping rectangle in integer pixels.