Search Results for

    Show / Hide Table of Contents

    Class Canvas

    Canvas renderable

    Inheritance
    object
    CyclicWriter
    GraphicalCyclicWriter
    Canvas
    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
    Assembly: Terminaux.dll
    Syntax
    public class Canvas : GraphicalCyclicWriter

    Constructors

    | Edit this page View Source

    Canvas()

    Makes a new instance of the canvas renderer

    Declaration
    public Canvas()

    Properties

    | Edit this page View Source

    Color

    Canvas color

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

    DoubleWidth

    Whether this canvas is double-width or single-width

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

    Pixels

    Pixel representations

    Declaration
    public CellOptions[] Pixels { get; set; }
    Property Value
    Type Description
    CellOptions[]
    | Edit this page View Source

    Transparent

    Whether this canvas is transparent

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

    Methods

    | Edit this page View Source

    Render()

    Renders a canvas

    Declaration
    public override string Render()
    Returns
    Type Description
    string

    Rendered text that will be used by the renderer

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