Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxRectF Members

A TRect type equivalent with the single-precision floating-point coordinates and dimensions.

#Fields

Name Description
Bottom Stores the vertical coordinate of the rectangle’s bottom-right corner.
Left Stores the horizontal coordinate of the rectangle’s upper-left corner.
Right Stores the horizontal coordinate of the rectangle’s bottom-right corner.
Top Stores the vertical coordinate of the rectangle’s upper-left corner.

#Properties

Name Description
BottomCenter
BottomLeft Specifies the bottom-left corner’s coordinates.
BottomRight Specifies the bottom-right corner’s coordinates.
Height Specifies the rectangle’s height.
LeftCenter
Location Specifies the rectangle’s position.
RightCenter
Size Returns the rectangle’s dimensions.
TopCenter
TopLeft Specifies the top-left corner’s coordinates.
TopRight Specifies the top-right corner’s coordinates.
Width Specifies the rectangle’s width.
X
Y

#Methods

Name
AdjustByBorder(TdxSizeF,TcxBorder,TRect)
AdjustByBorder(TdxSizeF,TcxBorder)
AlignHorizontally(TdxRectF,TdxAlignment)
AlignHorizontally(TdxSizeF,TdxAlignment)
AlignVertically(TdxRectF,TdxAlignment)
AlignVertically(TdxSizeF,TdxAlignment)
Assign(TRect)
CenterPoint
Contains(TdxPointF)
Contains(TdxRectF)
Content(TcxMargin)
Content(TRect)
Create(TdxPointF,Single,Single) static
Create(Single,Single,Single,Single) static
CreateSize(Single,Single,Single,Single) static
DeflateToTRect
Distance(TdxRectF)
Empty
Inflate(TdxPointF)
Inflate(TdxRectF)
Inflate(TdxSizeF)
Inflate(Single,Single,Single,Single)
Inflate(Single,Single)
Inflate(Single)
InflateToTRect
Init(Single,Single,Single,Single)
InitSize(Single,Single,Single,Single)
Intersect(TdxRectF)
IntersectsWith(TdxRectF)
IsEmpty
IsZero
Normalize
Null static
Offset(TdxPointF)
Offset(Single,Single)
SetCenter(TdxPointF)
SetMargins(TdxRectF)
TruncBorder(TdxRectF,TcxBorders,TRect)
Union(TdxRectF)
ZoomInto(TdxRectF)
ZoomInto(TdxSizeF)

#Operators

Name Description
Equal(TdxRectF,TdxRectF)~Boolean Compares two TdxRectF rectangles.
Implicit(TRect)~TdxRectF
NotEqual(TdxRectF,TdxRectF)~Boolean Compares two TdxRectF rectangles.
See Also