Click or drag to resize

Rectangle Properties

The Rectangle type exposes the following members.

Properties
  NameDescription
Public propertyArea
Compute the area of this rectangle.
Public propertyAspectRatio
The aspect ratio denotes the ratio of length to width of the rectangle (Width / Height)
Public propertyCentre
Gets the centre of the rectangle
Public propertyHeight
The height of a rectangle
Public propertyMaxX
The high x coordinate
Public propertyMaxY
The high y coordinate
Public propertyMinX
The low x coordinate
Public propertyMinY
The low y coordinate
Public propertyWidth
The width of a rectangle
Top
See Also