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