Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Color

Index

Constructors

constructor

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

Properties

a

a: number

b

b: number

g

g: number

r

r: number

Static black

black: Color = ...

Static empty

empty: Color = ...

Static transparent

transparent: Color = ...

Static white

white: Color = ...

Static whiteSmoke

whiteSmoke: Color = ...

Methods

Static fromArgb

  • fromArgb(a: number, r: number, g: number, b: number): Color

Static fromArray

  • fromArray(primitive: [number, number, number] | number[]): Color

Static fromRgb

  • fromRgb(r: number, g: number, b: number): Color

Generated using TypeDoc