Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents an RGB color.

Hierarchy

  • RGBColor

Index

Constructors

Properties

Methods

Constructors

  • new RGBColor(r: number, g: number, b: number, a?: number): RGBColor

Properties

a: number

The alpha component of the color.

b: number

The blue component of the color.

g: number

The green component of the color.

r: number

The red component of the color.

Methods

  • toString(): string

Generated using TypeDoc