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