Search Results for

    Show / Hide Table of Contents

    Class Parallelogram

    A parallelogram

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

    Constructors

    | Edit this page View Source

    Parallelogram(int, int, int, int, bool, Color?)

    Makes a new parallelogram

    Declaration
    public Parallelogram(int width, int height, int left, int top, bool filled = false, Color? shapeColor = null)
    Parameters
    Type Name Description
    int width

    Parallelogram width

    int height

    Parallelogram height

    int left

    Zero-based left position of the terminal to write this parallelogram to

    int top

    Zero-based top position of the terminal to write this parallelogram to

    bool filled

    Whether to print this filled parallelogram or just the outline

    Color shapeColor

    Shape color. Null equals the current foreground color.

    Properties

    | Edit this page View Source

    Filled

    Whether to print this filled parallelogram or just the outline

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

    ShapeColor

    Shape color

    Declaration
    public Color ShapeColor { get; }
    Property Value
    Type Description
    Color

    Methods

    | Edit this page View Source

    Render()

    Renders a parallelogram

    Declaration
    public override string Render()
    Returns
    Type Description
    string

    A rendered parallelogram using a string that you can print to the terminal using WriteRaw(string, params object[])

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