The RectangleShape type exposes the following members.

Properties

  NameDescription
Public propertyBottomMargin
Extra space below this shape (only useful in combination with docking).
(Inherited from Shape.)
Public propertyBrush
The brush that is used to fill this shape if closed.
(Inherited from PathShape.)
Public propertyClosed
Close this path shape by drawing a straight line from the end point to the start point.
(Inherited from PathShape.)
Public propertyDock
How this shape is docked.
(Inherited from Shape.)
Public propertyHeight
Height of this rectangle.
Public propertyID
This Identifier (ID) can be used to track which shape raise an exception.
(Inherited from Shape.)
Public propertyLeftMargin
Extra space to the left of this shape (only useful in combination with docking).
(Inherited from Shape.)
Public propertyOpacity
The opacity (0...255) which must be used for this shape. Default is 255 (fully opaque).
(Inherited from Shape.)
Public propertyPathShapes
The segments that make up this path shape.
(Inherited from PathShape.)
Public propertyPen
Used to draw the curves on this path.
(Inherited from PathShape.)
Public propertyRightMargin
Extra space to the right of this shape (only useful in combination with docking).
(Inherited from Shape.)
Public propertyRotation
Amount of rotation in degrees around the origin of the shape, clockwise.
(Inherited from ContentShape.)
Public propertyRotationOffsetX
Get or set the X-component of the offset to rotation center, relative to the origin of the shape.
(Inherited from ContentShape.)
Public propertyRotationOffsetY
Get or set the Y-component of the offset to rotation center, relative to the origin of the shape.
(Inherited from ContentShape.)
Public propertyTopMargin
Extra space above this shape (only useful in combination with docking).
(Inherited from Shape.)
Public propertyWidth
Width of this rectangle.
Public propertyX
X-position of the lower-left corner, center or start point (depending on shape type).
(Inherited from Shape.)
Public propertyY
Y-position of the lower-left corner, center or start point (depending on shape type).
(Inherited from Shape.)

See Also