System.Types.TRectF.CenterAt
Delphi
function CenterAt(const ADesignatedArea: TRectF): TRectF;
C++
TRectF CenterAt(const TRectF& Bounds) const _ALWAYS_INLINE {
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Types.pas SystemTypes.h |
System.Types | TRectF |
Description
Places the current TRectF object in the center of the designated area without scaling.
ADesignatedArea
: The coordinates of the rectangle that forms the area to center the current rectangle.
CenterAt returns the current rectangle placed in the center of the area provided.