Color Methods |
The Color type exposes the following members.
Name | Description | |
---|---|---|
AddGammaCorrection |
Returns this color with sRGB gamma correction added to it.
| |
Darken |
Returns this color darkened specified amount.
| |
Equals(Object) |
Indicates whether this instance and a specified object are equal.
(Overrides ValueTypeEquals(Object).) | |
Equals(Color) |
Indicates whether this instance and a specified object are equal.
| |
FromInteger(Int32, ColorFormat) |
Returns an Color representation of the specified integer.
| |
FromInteger(UInt32, ColorFormat) |
Returns an Color representation of this Integer.
| |
FromString |
Returns an Color representation of the specified string.
| |
FromVehicleColor |
Returns an Color representation of the specified VehicleColor.
| |
GetHashCode |
Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Grayscale |
Returns the grayscaled version of this color.
| |
Lerp |
Performs linear interpolation of Color.
| |
Lighten |
Returns this color lightened specified amount.
| |
RemoveGammaCorrection |
Returns this color with sRGB gamma correction removed from it.
| |
ToInteger |
Returns an Integer representation of this Color.
| |
ToString |
Returns a String representation of this Color.
(Overrides ValueTypeToString.) | |
ToString(ColorFormat) |
Returns a String representation of this Color.
|