Returns a rectangle centered around point
Namespace: FMX.RS.Graphics
Delphi
|
function CenterRect( const Pt: TPoint; Width, Height: Integer ): TRect; overload;
|
Parameters
Pt
Type: TPoint
Center point of rectangle
Width
Type: Integer
Width of rectangle
Height
Type: Integer
Height of rectangle
Return Value
Type: TRect
Reference
•FMX.RS.Graphics.OffsetRSRect(TRSRect,Single,Single) •FMX.RS.Graphics.RSCenterPoint(TRSPoint,TRSPoint,Single) •FMX.RS.Graphics.CenterRect(Integer,Integer,Integer,Integer) •FMX.RS.Graphics.CenterRect(TRect,TRect) •FMX.RS.Graphics.CenterRect(TRSGfxFloat,TRSGfxFloat,TRSGfxFloat,TRSGfxFloat) •FMX.RS.Graphics.CenterRect(TRSPoint,TRSGfxFloat,TRSGfxFloat) •FMX.RS.Graphics.CenterRect(TRSRect,TRSRect) •FMX.RS.Graphics |