FromAlpha creates a new color with all channels set to zero except for the alpha component, which is assigned to the passed value.
|
Parameters |
Description |
|
UByte a |
A value that is stored in the new colors alpha channel. |
A new Color object initialized to rgba(0,0,0,a).