[]
Initializes a new instance of the RenderArc class. The start angle of the arc 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 arc's ellipse are set to those of the current RenderArc object.
public RenderArc()
Public Sub New()
Initializes a new instance of the RenderArc class, assigning the width, height, and start and sweep angles of the arc. The location of the arc's ellipse is set to the location of the current RenderPie.
public RenderArc(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 arc. |
| Unit | height | The height of the ellipse containing the arc. |
| float | startAngle | The angle, in degrees, clockwise from the X axis to the start of the arc. |
| float | sweepAngle | The angle, measured in degrees, clockwise from |
Initializes a new instance of the RenderArc class, assigning the width, height, start and sweep angles of the arc, and the LineDef used to draw the arc. The location of the arc's ellipse is set to the location of the current RenderPie.
public RenderArc(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 arc. |
| Unit | height | The height of the ellipse containing the arc. |
| float | startAngle | The angle, in degrees, clockwise from the X axis to the start of the arc. |
| float | sweepAngle | The angle, measured in degrees, clockwise from |
| LineDef | shapeLine | The LineDef used to draw the arc. |
Initializes a new instance of the RenderArc class, assigning the width, height, start and sweep angles of the arc, the LineDef used to draw the arc, and the color used to fill the segment formed by the arc and a line connecting its ends. The location of the arc's ellipse is set to the location of the current RenderPie.
public RenderArc(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 arc. |
| Unit | height | The height of the ellipse containing the arc. |
| float | startAngle | The angle, in degrees, clockwise from the X axis to the start of the arc. |
| float | sweepAngle | The angle, measured in degrees, clockwise from |
| LineDef | shapeLine | The LineDef used to draw the arc. |
| Color | shapeFillColor | The fill color. |
Initializes a new instance of the RenderArc class, assigning the width, height, start and sweep angles of the arc, the LineDef used to draw the arc, and the brush used to fill the segment formed by the arc and a line connecting its ends. The location of the arc's ellipse is set to the location of the current RenderPie.
public RenderArc(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 arc. |
| Unit | height | The height of the ellipse containing the arc. |
| float | startAngle | The angle, in degrees, clockwise from the X axis to the start of the arc. |
| float | sweepAngle | The angle, measured in degrees, clockwise from |
| LineDef | shapeLine | The LineDef used to draw the arc. |
| Brush | shapeFillBrush | The fill brush. |
Initializes a new instance of the RenderArc class, assigning the location, size, and start and sweep angles of the arc.
public RenderArc(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 arc. |
| Unit | y | The Y coordinate of the ellipse containing the arc. |
| Unit | width | The width of the ellipse containing the arc. |
| Unit | height | The height of the ellipse containing the arc. |
| float | startAngle | The angle, in degrees, clockwise from the X axis to the start of the arc. |
| float | sweepAngle | The angle, measured in degrees, clockwise from |
Initializes a new instance of the RenderArc class, assigning the location, size, and start and sweep angles of the arc, and the LineDef used to draw the arc.
public RenderArc(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 arc. |
| Unit | y | The Y coordinate of the ellipse containing the arc. |
| Unit | width | The width of the ellipse containing the arc. |
| Unit | height | The height of the ellipse containing the arc. |
| float | startAngle | The angle, in degrees, clockwise from the X axis to the start of the arc. |
| float | sweepAngle | The angle, measured in degrees, clockwise from |
| LineDef | shapeLine | The LineDef used to draw the arc. |
Initializes a new instance of the RenderArc class, assigning the location, size, and start and sweep angles of the arc, the LineDef used to draw the arc, and the color used to fill the segment formed by the arc and a line connecting its ends.
public RenderArc(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 arc. |
| Unit | y | The Y coordinate of the ellipse containing the arc. |
| Unit | width | The width of the ellipse containing the arc. |
| Unit | height | The height of the ellipse containing the arc. |
| float | startAngle | The angle, in degrees, clockwise from the X axis to the start of the arc. |
| float | sweepAngle | The angle, measured in degrees, clockwise from |
| LineDef | shapeLine | The LineDef used to draw the arc. |
| Color | shapeFillColor | The fill color. |
Initializes a new instance of the RenderArc class, assigning the location, size, and start and sweep angles of the arc, the LineDef used to draw the arc, and the brush used to fill the segment formed by the arc and a line connecting its ends.
public RenderArc(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 arc. |
| Unit | y | The Y coordinate of the ellipse containing the arc. |
| Unit | width | The width of the ellipse containing the arc. |
| Unit | height | The height of the ellipse containing the arc. |
| float | startAngle | The angle, in degrees, clockwise from the X axis to the start of the arc. |
| float | sweepAngle | The angle, measured in degrees, clockwise from |
| LineDef | shapeLine | The LineDef used to draw the arc. |
| Brush | shapeFillBrush | The fill brush. |