Rectangle

Rectangle constructor

Creates a new instance of Rectangle

public Rectangle(float x, float y, float width, float height)
Parameter Type Description
x Single X position of rectangle
y Single Y position of Rectangle
width Single Width of Rectangle
height Single Height of Rectangle

See Also