Returns a rectangle centered around point
Namespace: RSGraphics
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
•RSGraphics.OffsetRSRect(TRSRect,Single,Single) •RSGraphics.RSCenterPoint(TRSPoint,TRSPoint,Single) •RSGraphics.CenterRect(Integer,Integer,Integer,Integer) •RSGraphics.CenterRect(TRect,TRect) •RSGraphics.CenterRect(TRSGfxFloat,TRSGfxFloat,TRSGfxFloat,TRSGfxFloat) •RSGraphics.CenterRect(TRSPoint,TRSGfxFloat,TRSGfxFloat) •RSGraphics.CenterRect(TRSRect,TRSRect) •RSGraphics |