Collapse All
Expand All
Code: All
Code: Multiple
Code: Visual Basic
Code: C#
Code: Visual C++
Code: J#
Code: JScript
Members Options: Show All
Members Options: Filtered
Members Options: Filtered
Members Options: Filtered
Frameworks: Show All
Frameworks: Multiple
Frameworks: .NET Framework Only
Frameworks: .NET Compact Framework Only
Frameworks: XNA Framework Only
Visual Basic
C#
Include Protected Members
Include Inherited Members
Include .NET Framework Members
Include .NET Compact Framework Members
Include XNA Framework Members
CAD .NET 15.2
Rect2D Members
Rect2D Structure
Constructors
Methods
Fields
Properties
See Also
Represent a rectangle.
The following tables list the members exposed by the
Rect2D
type.
Public Constructors
Name
Description
Rect2D
Initializes a new instance of the
Rect2D
class.
Top
Public Properties
Name
Description
BadRect
Represents a bad(not valid) rectangle.
BottomRight
Gets or sets the down-right corner of the
Rect2D
object as the
CAD2DPoint
object
Empty
Represents The
Rect2D
that is a null reference (Nothing in Visual Basic).
Height
Gets or sets a height of the
Rect2D
object.
TopLeft
Gets or sets the top-left corner of the
Rect2D
object as the
CAD2DPoint
object
Width
Gets or sets a width of the
Rect2D
object.
Top
Public Methods
Name
Description
Equals
Determines whether this
Rect2D
instance and the specified object are equal.
Expand
Expands a rectangle to the specified point.
GetHashCode
Returns the hash code for the instance.
IsBadRect
Checks whether or not the specified rectangle is valid.
Norm
Normalizes this
Rect2D
object.
Offset
Adds an offset at X- and Y-axis directions to this
Rect2D
object.
TransRectCorners
Rotates this
Rect2D
object by a specified
CADMatrix
.
Top
Operators
Name
Description
Equality
Checks if two
Rect2D
objects are equal.
Implicit Conversion (DRect to Rect2D)
Converts DRect to Rect2D
Implicit Conversion (Rect2D to DRect)
Converts Rect2D to DRect
Implicit Conversion (Rect2D to Rectangle)
Converts Rect2D to Rectangle
Implicit Conversion (RectangleF to Rect2D)
Converts RectangleF to Rect2D
Inequality
Checks if two
Rect2D
objects are unequal.
Top
Fields
Name
Description
bottom
The bottom border of the
Rect2D
object
left
The left border of the
Rect2D
object
right
The right border of the
Rect2D
object
top
The top border of the
Rect2D
object
Top
See Also
Reference
Rect2D Structure
CADImport Namespace