Search Results for

    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 @ Terminaux.dll
    Syntax
    public class Arc : GraphicalCyclicWriter


    Constructors

    Arc(int, int, int, Color?)

    Makes a new arc

    Declaration
    public Arc(int height, int left, int top, Color? shapeColor = null)
    Parameters
    Name Type Description
    height int

    Arc height

    left int

    Zero-based left position of the terminal to write this arc to

    top int

    Zero-based top position of the terminal to write this arc to

    shapeColor Color

    Shape color. Null equals the current foreground color.



    Properties

    AngleEnd

    Ending angle

    Property Value
    int
    Declaration
    public int AngleEnd { get; set; }

    AngleStart

    Starting angle

    Property Value
    int
    Declaration
    public int AngleStart { get; set; }

    CenterPosX

    Center X position of the circle within the canvas

    Property Value
    int
    Declaration
    public int CenterPosX { get; set; }

    CenterPosY

    Center Y position of the circle within the canvas

    Property Value
    int
    Declaration
    public int CenterPosY { get; set; }

    InnerRadius

    Specifies the inner radius

    Property Value
    int
    Declaration
    public int InnerRadius { get; set; }

    OuterRadius

    Specifies the outer radius

    Property Value
    int
    Declaration
    public int OuterRadius { get; set; }

    RadiusX

    Horizontal radius of the arc

    Property Value
    int
    Declaration
    public int RadiusX { get; set; }

    RadiusY

    Vertical radius of the arc

    Property Value
    int
    Declaration
    public int RadiusY { get; set; }

    RainbowLighting

    Lighting of the color wheel (from 0 to 100)

    Property Value
    int
    Declaration
    public int RainbowLighting { get; set; }

    RainbowMode

    Whether to make a "color wheel" or to use the shape color

    Property Value
    bool
    Declaration
    public bool RainbowMode { get; set; }

    RainbowSaturation

    Saturation of the color wheel (from 0 to 100)

    Property Value
    int
    Declaration
    public int RainbowSaturation { get; set; }

    ShapeColor

    Shape color

    Property Value
    Color
    Declaration
    public Color ShapeColor { get; }


    Methods

    Render()

    Renders an arc

    Returns
    string

    A rendered arc using a string that you can print to the terminal using WriteRaw(string, params object[])

    Declaration
    public override string Render()
    Overrides
    CyclicWriter.Render()
    Show / Hide Table of Contents

    Table of contents



      About

      Copyright © 2014-2026 Aptivi

      Find us

    •  
    •  
    •  
    •  
    •  
    •  
    • Social media

    •  
    •  
    •  
    •