[]
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()
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)
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)
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)
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)
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)
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)
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)
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)
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. |