Components.WithRed255
Extension Method in Components
Declaration
public static Color WithRed255(this Color color, int 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..255]. |
Returns
Color | A copy of the color with the new red component value. |