Search Results for

    Show / Hide Table of Contents

    Class Arc

    An arc

    Inheritance
    object
    CyclicWriter
    GraphicalCyclicWriter
    Arc
    Inherited Members
    GraphicalCyclicWriter.Left
    GraphicalCyclicWriter.Top
    GraphicalCyclicWriter.Width
    GraphicalCyclicWriter.Height
    GraphicalCyclicWriter.Padding
    GraphicalCyclicWriter.Margins
    GraphicalCyclicWriter.SetMargins
    GraphicalCyclicWriter.HitboxStartPos
    GraphicalCyclicWriter.HitboxEndPos
    GraphicalCyclicWriter.GenerateHitbox(Func<PointerEventContext, object>)
    GraphicalCyclicWriter.GenerateHitbox(Action<PointerEventContext>)
    Namespace: Terminaux.Writer.CyclicWriters.Graphical.Shapes
    Assembly: Terminaux.dll
    Syntax
    public class Arc : GraphicalCyclicWriter

    Constructors

    | Edit this page View Source

    Arc(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 Source

    AngleEnd

    Ending angle

    Declaration
    public int AngleEnd { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    AngleStart

    Starting angle

    Declaration
    public int AngleStart { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    InnerRadius

    Specifies the inner radius

    Declaration
    public int InnerRadius { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    OuterRadius

    Specifies the outer radius

    Declaration
    public int OuterRadius { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    RadiusX

    Horizontal radius of the arc

    Declaration
    public int RadiusX { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    RadiusY

    Vertical radius of the arc

    Declaration
    public int RadiusY { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    ShapeColor

    Shape color

    Declaration
    public Color ShapeColor { get; }
    Property Value
    Type Description
    Color

    Methods

    | Edit this page View Source

    Render()

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

    Overrides
    CyclicWriter.Render()
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX