setAlpha Method

Change the alpha value for this ColorDef.

setAlpha(alpha: number): void

Parameter Type Description
alpha number the new alpha value. Must be between 0-255.

Returns - void

Defined in

Last Updated: 13 June, 2024