Click or drag to resize

RectangleD2D Properties

The RectangleD2D type exposes the following members.

Properties
 NameDescription
Public propertyBottom Gets the y coordinate of the bottom.
Public propertyBottomHalf Gets a new rectangle that is the bottom half of this rectangle.
Public propertyCenterBottom Gets the center(x)-bottom(y) point of the rectangle.
Public propertyCenterCenter Gets the center(x)-center(y) point of the rectangle.
Public propertyCenterTop Gets the center(x)-top(y) point of the rectangle.
Public propertyStatic memberEmpty Gets the empty rectangle with the location (0, 0).
Public propertyHeight Gets or sets the height of the rectangle.
Public propertyIsEmpty Gets a value indicating whether the rectangle is empty. Per definition, it is empty if both width and height are zero.
Public propertyLeft Gets the x coordinate of the left.
Public propertyLeftBottom Gets the left(x)-bottom(y) point of the rectangle.
Public propertyLeftCenter Gets the left(x)-center(y) point of the rectangle.
Public propertyLeftHalf Gets a new rectangle that is the left half of this rectangle.
Public propertyLeftTop Gets the left(x)-top(y) point of the rectangle.
Public propertyLocation Gets or sets the location (of the left-top corner of the rectangle).
Public propertyOuterCircleBoundingBoxGets a rectangle that includes the smallest circle around this rectangle.
Public propertyRight Gets the x coordinate of the right.
Public propertyRightBottom Gets the right(x)-bottom(y) point of the rectangle.
Public propertyRightCenter Gets the right(x)-center(y) point of the rectangle.
Public propertyRightHalf Gets a new rectangle that is the right half of this rectangle.
Public propertyRightTop Gets the right(x)-top(y) point of the rectangle.
Public propertySize Gets or sets the size of the rectangle.
Public propertyTop Gets the y coordinate of the top.
Public propertyTopHalf Gets a new rectangle that is the top half of this rectangle.
Public propertyVertices Gets the vertices in binary order (x: 0th digit, y: 1st digit).
Public propertyWidth Gets or sets the width of the rectangle.
Public propertyX Gets or sets the x location (the x coordinate of the left side).
Public propertyY Gets or sets the y location (the y coordinate of the top side).
Top
See Also