RenderRoundRectangle Constructor(Unit,Unit)
In This Topic
Initializes a new instance of the
RenderRoundRectangle class, assigning the width and height of the rectangle. The location of the rectangle is set to the location of the current
RenderRoundRectangle. The dimensions of the ellipse used to draw the rounded corners are set to
5% of the corresponding rectangle's dimensions.
Syntax
'Declaration
Public Function New( _
ByVal As Unit, _
ByVal As Unit _
)
public RenderRoundRectangle(
Unit ,
Unit
)
Parameters
- width
- The width of the rectangle.
- height
- The height of the rectangle.
See Also