[]
Initializes a new instance of the RenderRoundRectangle class. The location and size of the rectangle are set to those of the current RenderRectangle object. The dimensions of the ellipse used to draw the rounded corners are set to 5% of the corresponding rectangle's dimensions.
public RenderRoundRectangle()
Public Sub New()
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.
public RenderRoundRectangle(Unit width, Unit height)
Public Sub New(width As Unit, height As Unit)
| Type | Name | Description |
|---|---|---|
| Unit | width | The width of the rectangle. |
| Unit | height | The height of the rectangle. |
Initializes a new instance of the RenderRoundRectangle class, assigning the width and height of the rectangle, and the LineDef used to draw it. 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.
public RenderRoundRectangle(Unit width, Unit height, LineDef shapeLine)
Public Sub New(width As Unit, height As Unit, shapeLine As LineDef)
| Type | Name | Description |
|---|---|---|
| Unit | width | The width of the rectangle. |
| Unit | height | The height of the rectangle. |
| LineDef | shapeLine | The LineDef used to draw the rectangle. |
Initializes a new instance of the RenderRoundRectangle class, assigning the width and height of the rectangle, the LineDef used to draw it, and the fill color. 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.
public RenderRoundRectangle(Unit width, Unit height, LineDef shapeLine, Color shapeFillColor)
Public Sub New(width As Unit, height As Unit, shapeLine As LineDef, shapeFillColor As Color)
| Type | Name | Description |
|---|---|---|
| Unit | width | The width of the rectangle. |
| Unit | height | The height of the rectangle. |
| LineDef | shapeLine | The LineDef used to draw the rectangle. |
| Color | shapeFillColor | The color used to fill the rectangle. |
Initializes a new instance of the RenderRoundRectangle 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 RenderRoundRectangle. The dimensions of the ellipse used to draw the rounded corners are set to 5% of the corresponding rectangle's dimensions.
public RenderRoundRectangle(Unit width, Unit height, LineDef shapeLine, Brush shapeFillBrush)
Public Sub New(width As Unit, height As Unit, shapeLine As LineDef, shapeFillBrush As Brush)
| Type | Name | Description |
|---|---|---|
| Unit | width | The width of the rectangle. |
| Unit | height | The height of the rectangle. |
| LineDef | shapeLine | The LineDef used to draw the rectangle. |
| Brush | shapeFillBrush | The brush used to fill the rectangle. |
Initializes a new instance of the RenderRoundRectangle class, assigning the location and the size of the rectangle. The dimensions of the ellipse used to draw the rounded corners are set to 5% of the corresponding rectangle's dimensions.
public RenderRoundRectangle(Unit x, Unit y, Unit width, Unit height)
Public Sub New(x As Unit, y As Unit, width As Unit, height As Unit)
| Type | Name | Description |
|---|---|---|
| Unit | x | The X coordinate of the rectangle, relative to the current object's location. |
| Unit | y | The Y coordinate of the rectangle, relative to the current object's location. |
| Unit | width | The width of the rectangle. |
| Unit | height | The height of the rectangle. |
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.
public RenderRoundRectangle(Unit x, Unit y, Unit width, Unit height, LineDef shapeLine)
Public Sub New(x As Unit, y As Unit, width As Unit, height As Unit, shapeLine As LineDef)
| Type | Name | Description |
|---|---|---|
| Unit | x | The X coordinate of the rectangle, relative to the current object's location. |
| Unit | y | The Y coordinate of the rectangle, relative to the current object's location. |
| Unit | width | The width of the rectangle. |
| Unit | height | The height of the rectangle. |
| LineDef | shapeLine | The LineDef used to draw the rectangle. |
Initializes a new instance of the RenderRoundRectangle class, assigning the location and the size of the rectangle, the LineDef used to draw it, and the fill color. The dimensions of the ellipse used to draw the rounded corners are set to 5% of the corresponding rectangle's dimensions.
public RenderRoundRectangle(Unit x, Unit y, Unit width, Unit height, LineDef shapeLine, Color shapeFillColor)
Public Sub New(x As Unit, y As Unit, width As Unit, height As Unit, shapeLine As LineDef, shapeFillColor As Color)
| Type | Name | Description |
|---|---|---|
| Unit | x | The X coordinate of the rectangle, relative to the current object's location. |
| Unit | y | The Y coordinate of the rectangle, relative to the current object's location. |
| Unit | width | The width of the rectangle. |
| Unit | height | The height of the rectangle. |
| LineDef | shapeLine | The LineDef used to draw the rectangle. |
| Color | shapeFillColor | The color used to fill the rectangle. |
Initializes a new instance of the RenderRoundRectangle class, assigning the location and the size of the rectangle, the LineDef used to draw it, and the fill brush. The dimensions of the ellipse used to draw the rounded corners are set to 5% of the corresponding rectangle's dimensions.
public RenderRoundRectangle(Unit x, Unit y, Unit width, Unit height, LineDef shapeLine, Brush shapeFillBrush)
Public Sub New(x As Unit, y As Unit, width As Unit, height As Unit, shapeLine As LineDef, shapeFillBrush As Brush)
| Type | Name | Description |
|---|---|---|
| Unit | x | The X coordinate of the rectangle, relative to the current object's location. |
| Unit | y | The Y coordinate of the rectangle, relative to the current object's location. |
| Unit | width | The width of the rectangle. |
| Unit | height | The height of the rectangle. |
| LineDef | shapeLine | The LineDef used to draw the rectangle. |
| Brush | shapeFillBrush | The brush used to fill the rectangle. |
Initializes a new instance of the RenderRoundRectangle class, assigning the location, size and roundness of the rectangle, the LineDef used to draw it, and the fill color.
public RenderRoundRectangle(Unit x, Unit y, Unit width, Unit height, Unit ellipseWidth, Unit ellipseHeight, LineDef shapeLine, Color shapeFillColor)
Public Sub New(x As Unit, y As Unit, width As Unit, height As Unit, ellipseWidth As Unit, ellipseHeight As Unit, shapeLine As LineDef, shapeFillColor As Color)
| Type | Name | Description |
|---|---|---|
| Unit | x | The X coordinate of the rectangle, relative to the current object's location. |
| Unit | y | The Y coordinate of the rectangle, relative to the current object's location. |
| Unit | width | The width of the rectangle. |
| Unit | height | The height of the rectangle. |
| Unit | ellipseWidth | The width of the ellipse used to draw the rounded corners (may be specified as "5%width" for example). |
| Unit | ellipseHeight | The height of the ellipse used to draw the rounded corners (may be specified as "5%height" for example). |
| LineDef | shapeLine | The LineDef used to draw the rectangle. |
| Color | shapeFillColor | The color used to fill the rectangle. |
Initializes a new instance of the RenderRoundRectangle class, assigning the location, size and roundness of the rectangle, the LineDef used to draw it, and the fill brush.
public RenderRoundRectangle(Unit x, Unit y, Unit width, Unit height, Unit ellipseWidth, Unit ellipseHeight, LineDef shapeLine, Brush shapeFillBrush)
Public Sub New(x As Unit, y As Unit, width As Unit, height As Unit, ellipseWidth As Unit, ellipseHeight As Unit, shapeLine As LineDef, shapeFillBrush As Brush)
| Type | Name | Description |
|---|---|---|
| Unit | x | The X coordinate of the rectangle, relative to the current object's location. |
| Unit | y | The Y coordinate of the rectangle, relative to the current object's location. |
| Unit | width | The width of the rectangle. |
| Unit | height | The height of the rectangle. |
| Unit | ellipseWidth | The width of the ellipse used to draw the rounded corners (may be specified as "5%width" for example). |
| Unit | ellipseHeight | The height of the ellipse used to draw the rounded corners (may be specified as "5%height" for example). |
| LineDef | shapeLine | The LineDef used to draw the rectangle. |
| Brush | shapeFillBrush | The brush used to fill the rectangle. |