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