Rectangle.Rectangle

Rectangle constructor

Initializes a new instance of the Rectangle class.

public Rectangle(float left, float bottom, float width, float height)
ParameterTypeDescription
leftSingleThe left position of the rectangle.
bottomSingleThe bottom position of the rectangle.
widthSingleThe width of the rectangle.
heightSingleThe height of the rectangle.

See Also