Class Arc
An arc
Inherited Members
Namespace: Terminaux.Writer.CyclicWriters.Graphical.Shapes
Assembly: Terminaux.dll
Syntax
public class Arc : GraphicalCyclicWriter
Constructors
| Edit this page View SourceArc(int, int, int, Color?)
Makes a new arc
Declaration
public Arc(int height, int left, int top, Color? shapeColor = null)
Parameters
| Type | Name | Description |
|---|---|---|
| int | height | Arc height |
| int | left | Zero-based left position of the terminal to write this arc to |
| int | top | Zero-based top position of the terminal to write this arc to |
| Color | shapeColor | Shape color. Null equals the current foreground color. |
Properties
| Edit this page View SourceAngleEnd
Ending angle
Declaration
public int AngleEnd { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
AngleStart
Starting angle
Declaration
public int AngleStart { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
InnerRadius
Specifies the inner radius
Declaration
public int InnerRadius { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
OuterRadius
Specifies the outer radius
Declaration
public int OuterRadius { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
RadiusX
Horizontal radius of the arc
Declaration
public int RadiusX { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
RadiusY
Vertical radius of the arc
Declaration
public int RadiusY { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
ShapeColor
Shape color
Declaration
public Color ShapeColor { get; }
Property Value
| Type | Description |
|---|---|
| Color |
Methods
| Edit this page View SourceRender()
Renders an arc
Declaration
public override string Render()
Returns
| Type | Description |
|---|---|
| string | A rendered arc using a string that you can print to the terminal using WriteRaw(string, params object[]) |