Search Results for

    Class Line

    Line renderable

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


    Constructors

    Line()

    Makes a new instance of the line renderer

    Declaration
    public Line()


    Properties

    AntiAlias

    Whether to enable anti-aliasing

    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.

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

    Color

    Line color

    Property Value
    Color
    Declaration
    public Color Color { get; set; }

    DoubleWidth

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

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

    EndPos

    Ending position

    Property Value
    Coordinate
    Declaration
    public Coordinate EndPos { get; set; }

    StartPos

    Starting position

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


    Methods

    Render()

    Renders a line

    Returns
    string

    Rendered line that will be used by the renderer

    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

    •  
    •  
    •  
    •