Returns a rectangle centered around point specified by X and Y
Namespace: FMX.RS.Graphics
Delphi |
function CenterRect( const X, Y: Integer; Width, Height: Integer ): TRect; overload; |
Parameters
X
Type: Integer
Coordinate of X-axis center point
Y
Type: Integer
Coordinate of Y-axis center point
Width
Type: Integer
Width of rectangle
Height
Type: Integer
Height of rectangle
Pt
Center point of rectangle
Type: TRect