Class Line
Line renderable
Inheritance
Namespace
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
StartPos
Starting position
Methods
Render()
Renders a line
Returns
string
Rendered line that will be used by the renderer
Declaration
public override string Render()