Color.withTransparency

Returns a copy of the current Color with a given transpareny.

struct Color
const
withTransparency
(
ubyte alpha = 0
)

Examples

Color(current.red, current.green, current.blue, alpha);

Meta