Theia API Documentation v1.65.0
    Preparing search index...

    Represents a color in RGBA space.

    Index

    Constructors

    Properties

    Constructors

    • Creates a new color instance.

      Parameters

      • red: number

        The red component.

      • green: number

        The green component.

      • blue: number

        The blue component.

      • alpha: number

        The alpha component.

      Returns Color

    Properties

    alpha: number

    The alpha component of this color in the range [0-1].

    blue: number

    The blue component of this color in the range [0-1].

    green: number

    The green component of this color in the range [0-1].

    red: number

    The red component of this color in the range [0-1].