[]
Initializes a new instance of the RenderPie class. The start angle of the pie is set to 0, while the sweep angle is set to 360 degrees, thus making it a complete ellipse. The location and size of the ellipse are set to those of the current RenderPie object.
public RenderPie()
Public Sub New()
Initializes a new instance of the RenderPie class, assigning the width, height, and start and sweep angles of the pie shape. The location of the shape is set to the location of the current RenderPie.
public RenderPie(Unit width, Unit height, float startAngle, float sweepAngle)
Public Sub New(width As Unit, height As Unit, startAngle As Single, sweepAngle As Single)
| Type | Name | Description |
|---|---|---|
| Unit | width | The width of the ellipse containing the pie shape. |
| Unit | height | The height of the ellipse containing the pie shape. |
| float | startAngle | The angle, in degrees, clockwise from the X axis to the start of the pie's arc. |
| float | sweepAngle | The angle, measured in degrees, clockwise from |
Initializes a new instance of the RenderPie class, assigning the width, height, start and sweep angles of the pie shape, and the LineDef used to draw the shape. The location of the shape is set to the location of the current RenderPie.
public RenderPie(Unit width, Unit height, float startAngle, float sweepAngle, LineDef shapeLine)
Public Sub New(width As Unit, height As Unit, startAngle As Single, sweepAngle As Single, shapeLine As LineDef)
| Type | Name | Description |
|---|---|---|
| Unit | width | The width of the ellipse containing the pie shape. |
| Unit | height | The height of the ellipse containing the pie shape. |
| float | startAngle | The angle, in degrees, clockwise from the X axis to the start of the pie's arc. |
| float | sweepAngle | The angle, measured in degrees, clockwise from |
| LineDef | shapeLine | The LineDef used to draw the pie shape. |
Initializes a new instance of the RenderPie class, assigning the width, height, start and sweep angles of the pie shape, the LineDef used to draw the shape, and the fill color. The location of the shape is set to the location of the current RenderPie.
public RenderPie(Unit width, Unit height, float startAngle, float sweepAngle, LineDef shapeLine, Color shapeFillColor)
Public Sub New(width As Unit, height As Unit, startAngle As Single, sweepAngle As Single, shapeLine As LineDef, shapeFillColor As Color)
| Type | Name | Description |
|---|---|---|
| Unit | width | The width of the ellipse containing the pie shape. |
| Unit | height | The height of the ellipse containing the pie shape. |
| float | startAngle | The angle, in degrees, clockwise from the X axis to the start of the pie's arc. |
| float | sweepAngle | The angle, measured in degrees, clockwise from |
| LineDef | shapeLine | The LineDef used to draw the pie shape. |
| Color | shapeFillColor | The shape fill color. |
Initializes a new instance of the RenderPie class, assigning the width, height, start and sweep angles of the pie shape, the LineDef used to draw the shape, and the fill brush. The location of the shape is set to the location of the current RenderPie.
public RenderPie(Unit width, Unit height, float startAngle, float sweepAngle, LineDef shapeLine, Brush shapeFillBrush)
Public Sub New(width As Unit, height As Unit, startAngle As Single, sweepAngle As Single, shapeLine As LineDef, shapeFillBrush As Brush)
| Type | Name | Description |
|---|---|---|
| Unit | width | The width of the ellipse containing the pie shape. |
| Unit | height | The height of the ellipse containing the pie shape. |
| float | startAngle | The angle, in degrees, clockwise from the X axis to the start of the pie's arc. |
| float | sweepAngle | The angle, measured in degrees, clockwise from |
| LineDef | shapeLine | The LineDef used to draw the pie shape. |
| Brush | shapeFillBrush | The shape fill brush. |
Initializes a new instance of the RenderPie class, assigning the location, size, and start and sweep angles of the pie shape.
public RenderPie(Unit x, Unit y, Unit width, Unit height, float startAngle, float sweepAngle)
Public Sub New(x As Unit, y As Unit, width As Unit, height As Unit, startAngle As Single, sweepAngle As Single)
| Type | Name | Description |
|---|---|---|
| Unit | x | The X coordinate of the ellipse containing the pie shape. |
| Unit | y | The Y coordinate of the ellipse containing the pie shape. |
| Unit | width | The width of the ellipse containing the pie shape. |
| Unit | height | The height of the ellipse containing the pie shape. |
| float | startAngle | The angle, in degrees, clockwise from the X axis to the start of the pie's arc. |
| float | sweepAngle | The angle, measured in degrees, clockwise from |
Initializes a new instance of the RenderPie class, assigning the location, size, start and sweep angles of the pie shape, and the LineDef used to draw the shape.
public RenderPie(Unit x, Unit y, Unit width, Unit height, float startAngle, float sweepAngle, LineDef shapeLine)
Public Sub New(x As Unit, y As Unit, width As Unit, height As Unit, startAngle As Single, sweepAngle As Single, shapeLine As LineDef)
| Type | Name | Description |
|---|---|---|
| Unit | x | The X coordinate of the ellipse containing the pie shape. |
| Unit | y | The Y coordinate of the ellipse containing the pie shape. |
| Unit | width | The width of the ellipse containing the pie shape. |
| Unit | height | The height of the ellipse containing the pie shape. |
| float | startAngle | The angle, in degrees, clockwise from the X axis to the start of the pie's arc. |
| float | sweepAngle | The angle, measured in degrees, clockwise from |
| LineDef | shapeLine | The LineDef used to draw the pie shape. |
Initializes a new instance of the RenderPie class, assigning the location, size, start and sweep angles of the pie shape, the LineDef used to draw the shape, and the fill color.
public RenderPie(Unit x, Unit y, Unit width, Unit height, float startAngle, float sweepAngle, LineDef shapeLine, Color shapeFillColor)
Public Sub New(x As Unit, y As Unit, width As Unit, height As Unit, startAngle As Single, sweepAngle As Single, shapeLine As LineDef, shapeFillColor As Color)
| Type | Name | Description |
|---|---|---|
| Unit | x | The X coordinate of the ellipse containing the pie shape. |
| Unit | y | The Y coordinate of the ellipse containing the pie shape. |
| Unit | width | The width of the ellipse containing the pie shape. |
| Unit | height | The height of the ellipse containing the pie shape. |
| float | startAngle | The angle, in degrees, clockwise from the X axis to the start of the pie's arc. |
| float | sweepAngle | The angle, measured in degrees, clockwise from |
| LineDef | shapeLine | The LineDef used to draw the pie shape. |
| Color | shapeFillColor | The shape fill color. |
Initializes a new instance of the RenderPie class, assigning the location, size, start and sweep angles of the pie shape, the LineDef used to draw the shape, and the fill brush.
public RenderPie(Unit x, Unit y, Unit width, Unit height, float startAngle, float sweepAngle, LineDef shapeLine, Brush shapeFillBrush)
Public Sub New(x As Unit, y As Unit, width As Unit, height As Unit, startAngle As Single, sweepAngle As Single, shapeLine As LineDef, shapeFillBrush As Brush)
| Type | Name | Description |
|---|---|---|
| Unit | x | The X coordinate of the ellipse containing the pie shape. |
| Unit | y | The Y coordinate of the ellipse containing the pie shape. |
| Unit | width | The width of the ellipse containing the pie shape. |
| Unit | height | The height of the ellipse containing the pie shape. |
| float | startAngle | The angle, in degrees, clockwise from the X axis to the start of the pie's arc. |
| float | sweepAngle | The angle, measured in degrees, clockwise from |
| LineDef | shapeLine | The LineDef used to draw the pie shape. |
| Brush | shapeFillBrush | The shape fill brush. |