RenderRoundRectangle Constructor(Unit,Unit,Unit,Unit,LineDef)
In This Topic
Initializes a new instance of the
RenderRoundRectangle class, assigning the location and the size of the rectangle, and the
LineDef used to draw it. The dimensions of the ellipse used to draw the rounded corners are set to
5% of the corresponding rectangle's dimensions.
Syntax
Parameters
- x
- The X coordinate of the rectangle, relative to the current object's location.
- y
- The Y coordinate of the rectangle, relative to the current object's location.
- width
- The width of the rectangle.
- height
- The height of the rectangle.
- shapeLine
- The LineDef used to draw the rectangle.
See Also