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.

Defined in

Last Updated: 08 January, 2020