adjustAlpha(color
, amount
): Color
Adjusts the alpha of a color.
Parameters
Parameter | Type | Description |
---|
color | Color | The color to adjust. |
amount | any | The new alpha value, from 0 to 1. |
Returns
Color
A new Color instance with adjusted alpha.
Defined in
manipulation/components/alpha.ts:9