from MethodStatic
Create a ColorDef from Red, Green, Blue, Transparency values. All inputs should be integers between 0-255.
from(red: number, green: number, blue: number, transparency?: number): ColorDef
Parameter | Type | Description |
---|---|---|
red | number | |
green | number | |
blue | number | |
transparency | number |
Returns - ColorDef
Defined in
- core/common/src/ColorDef.ts Line 89
Last Updated: 20 June, 2023