RenderRectangle Constructor(Unit,Unit,LineDef,Brush)
In This Topic
Initializes a new instance of the
RenderRectangle class, assigning the width and height of the rectangle, the
LineDef used to draw it, and the fill brush. The location of the rectangle is set to the location of the current
RenderRectangle.
Syntax
'Declaration
Public Function New( _
ByVal As Unit, _
ByVal As Unit, _
ByVal As LineDef, _
ByVal As System.Drawing.Brush _
)
public RenderRectangle(
Unit ,
Unit ,
LineDef ,
System.Drawing.Brush
)
Parameters
- width
- The width of the rectangle.
- height
- The height of the rectangle.
- shapeLine
- The LineDef used to draw the rectangle.
- shapeFillBrush
- The brush used to fill the rectangle.
See Also