Search Results for

    Class LineHandle

    Line handle renderable

    Inheritance
    object
    CyclicWriter
    SimpleCyclicWriter
    LineHandle
    Namespace
    Terminaux.Writer.CyclicWriters.Simple @ Terminaux.dll
    Syntax
    public class LineHandle : SimpleCyclicWriter


    Constructors

    LineHandle(string)

    Makes a new instance of the line handle renderer

    Declaration
    public LineHandle(string filePath)
    Parameters
    Name Type Description
    filePath string

    Path to file to render

    LineHandle(string[])

    Makes a new instance of the line handle renderer

    Declaration
    public LineHandle(string[] fileLines)
    Parameters
    Name Type Description
    fileLines string[]

    File lines to render



    Properties

    Color

    Text color

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

    Position

    A specific line number

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

    Ranged

    Whether the line handle is ranged or not (targeting a specific start column to a specific end column)

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

    SourcePosition

    A specific position to either highlight or to start a range from

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

    TargetPosition

    A specific position to end a range to in ranged mode

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

    UseColors

    Whether to use colors or not

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


    Methods

    Render()

    Renders a line handle

    Returns
    string

    Rendered line handle text 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

    •  
    •  
    •  
    •