Search Results for

    Show / Hide Table of Contents

    Class TrueColor

    Indicates the RGB for true colors.
    Inheritance
    System.Object
    TrueColor
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Terminal.Gui
    Assembly: Terminal.Gui.dll
    Syntax
    public class TrueColor

    Constructors

    | Improve this Doc View Source

    TrueColor(Int32, Int32, Int32)

    Initializes a new instance of the TrueColor struct.
    Declaration
    public TrueColor(int red, int green, int blue)
    Parameters
    Type Name Description
    System.Int32 red
    System.Int32 green
    System.Int32 blue

    Properties

    | Improve this Doc View Source

    Blue

    Blue color component.
    Declaration
    public int Blue { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Green

    Green color component.
    Declaration
    public int Green { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Red

    Red color component.
    Declaration
    public int Red { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    ToConsoleColor()

    Converts true color to console color.
    Declaration
    public Color ToConsoleColor()
    Returns
    Type Description
    Color
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX