setTransparency Method
Change the transparency value for this ColorDef
setTransparency(transparency: number): void
Parameter | Type | Description |
---|---|---|
transparency | number | the new transparency value. Must be between 0-255, where 0 means 'fully opaque' and 255 means 'fully transparent'. |
Defined in
Last Updated: 08 January, 2020