Constructors
constructor
new ColourRgb( __namedParameters: object ) : ColourRgb
Parameters
__namedParameters: object
blue: number
green: number
red: number
Methods
__@toPrimitive
__@toPrimitive( hint: "string" | "number" | "default" ) : number | string
Parameters
hint: "string" | "number" | "default"
Returns number
|
string
Legend
Module
Object literal
Variable
Function
Function with type parameter
Index signature
Type alias
Enumeration
Enumeration member
Property
Method
Interface
Interface with type parameter
Constructor
Property
Method
Index signature
Class
Class with type parameter
Constructor
Property
Method
Accessor
Index signature
Inherited constructor
Inherited property
Inherited method
Inherited accessor
Protected property
Protected method
Protected accessor
Private property
Private method
Private accessor
Static property
Static method
Represents a colour in the red, green and blue colour model. Internal values are HDR and can eclipse the
0
to1
range. The values are clamped when accessed.