[]
Initializes a new instance of the RenderEllipse class. The location and size of the ellipse are set to those of the current RenderEllipse object.
public RenderEllipse()
Public Sub New()
Initializes a new instance of the RenderEllipse class, assigning the width and height of the ellipse. The location of the ellipse is set to the location of the current RenderEllipse.
public RenderEllipse(Unit width, Unit height)
Public Sub New(width As Unit, height As Unit)
| Type | Name | Description |
|---|---|---|
| Unit | width | The width of the ellipse. |
| Unit | height | The height of the ellipse. |
Initializes a new instance of the RenderEllipse class, assigning the width and height of the ellipse, and the LineDef used to draw it. The location of the ellipse is set to the location of the current RenderEllipse.
public RenderEllipse(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 ellipse. |
| Unit | height | The height of the ellipse. |
| LineDef | shapeLine | The LineDef used to draw the ellipse. |
Initializes a new instance of the RenderEllipse class, assigning the width and height of the ellipse, the LineDef used to draw it, and the fill color. The location of the ellipse is set to the location of the current RenderEllipse.
public RenderEllipse(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 ellipse. |
| Unit | height | The height of the ellipse. |
| LineDef | shapeLine | The LineDef used to draw the ellipse. |
| Color | shapeFillColor | The fill color. |
Initializes a new instance of the RenderEllipse class, assigning the width and height of the ellipse, the LineDef used to draw it, and the fill brush. The location of the ellipse is set to the location of the current RenderEllipse.
public RenderEllipse(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 ellipse. |
| Unit | height | The height of the ellipse. |
| LineDef | shapeLine | The LineDef used to draw the ellipse. |
| Brush | shapeFillBrush | The fill brush. |
Initializes a new instance of the RenderEllipse class, assigning the location and the size of the ellipse.
public RenderEllipse(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 ellipse. |
| Unit | y | The Y coordinate of the ellipse. |
| Unit | width | The width of the ellipse. |
| Unit | height | The height of the ellipse. |
Initializes a new instance of the RenderEllipse class, assigning the location and the size of the ellipse, and the LineDef used to draw it.
public RenderEllipse(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 ellipse. |
| Unit | y | The Y coordinate of the ellipse. |
| Unit | width | The width of the ellipse. |
| Unit | height | The height of the ellipse. |
| LineDef | shapeLine | The LineDef used to draw the ellipse. |
Initializes a new instance of the RenderEllipse class, assigning the location and the size of the ellipse, the LineDef used to draw it, and the fill color.
public RenderEllipse(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 ellipse. |
| Unit | y | The Y coordinate of the ellipse. |
| Unit | width | The width of the ellipse. |
| Unit | height | The height of the ellipse. |
| LineDef | shapeLine | The LineDef used to draw the ellipse. |
| Color | shapeFillColor | The fill color. |
Initializes a new instance of the RenderEllipse class, assigning the location and the size of the ellipse, the LineDef used to draw it, and the fill brush.
public RenderEllipse(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 ellipse. |
| Unit | y | The Y coordinate of the ellipse. |
| Unit | width | The width of the ellipse. |
| Unit | height | The height of the ellipse. |
| LineDef | shapeLine | The LineDef used to draw the ellipse. |
| Brush | shapeFillBrush | The fill brush. |