Components.WithAlpha255
Extension Method in Components
Declaration
public static Color WithAlpha255(this Color color, int alpha)
Description
Returns a copy of the color with a new alpha component value.
Parameters
color | The color to copy. |
alpha | The new component value in the range [0..255]. |
Returns
Color | A copy of the color with the new alpha component value. |