Search Results for

    Show / Hide Table of Contents

    Class Line

    Line renderable

    Inheritance
    object
    CyclicWriter
    SimpleCyclicWriter
    Line
    Namespace: Terminaux.Writer.CyclicWriters.Graphical
    Assembly: Terminaux.dll
    Syntax
    public class Line : SimpleCyclicWriter

    Constructors

    | Edit this page View Source

    Line()

    Makes a new instance of the line renderer

    Declaration
    public Line()

    Properties

    | Edit this page View Source

    AntiAlias

    Whether to enable anti-aliasing

    Declaration
    public bool AntiAlias { get; set; }
    Property Value
    Type Description
    bool
    Remarks

    When this option is enabled, the line will be rendered using Xiaolin Wu's line algorithm. Else, the renderer uses Bresenham's line algorithm.

    | Edit this page View Source

    Color

    Line color

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

    DoubleWidth

    Whether to treat the line as double-width or single-width

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

    EndPos

    Ending position

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

    StartPos

    Starting position

    Declaration
    public Coordinate StartPos { get; set; }
    Property Value
    Type Description
    Coordinate

    Methods

    | Edit this page View Source

    Render()

    Renders a line

    Declaration
    public override string Render()
    Returns
    Type Description
    string

    Rendered line that will be used by the renderer

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