Color Struct
Definition
public struct Color
type Color = struct
- Inheritance
-
Color
Remarks
Portions of this page are modifications based on work created and shared by the
Constructors
Color(Byte, Byte, Byte) |
Initializes a new instance of the Color struct. |
Color(Byte, Byte, Byte, Byte) |
Initializes a new instance of the Color struct. |
Color(Int32) |
Initializes a new instance of the Color struct. |
Color(Int32, Int32, Int32) |
Initializes a new instance of the Color struct. |
Color(Int32, Int32, Int32, Int32) |
Initializes a new instance of the Color struct. |
Properties
Methods
Argb(Int32, Int32, Int32, Int32) | |
ColorToHSV(Color, Single[]) | |
Equals(Object) |
Determines if this instance of a Color struct and another are the same. |
GetAlphaComponent(Int32) |
Gets the Alpha component from an integer color. |
GetBlueComponent(Int32) |
Gets the Blue component from an integer color. |
GetBrightness() | |
GetGreenComponent(Int32) |
Gets the Green component from an integer color. |
GetHashCode() | |
GetHue() | |
GetRedComponent(Int32) |
Gets the Red component from an integer color. |
GetSaturation() | |
HSVToColor(Int32, Single[]) | |
HSVToColor(Single[]) | |
ParseColor(String) | |
Rgb(Int32, Int32, Int32) | |
RGBToHSV(Int32, Int32, Int32, Single[]) | |
ToArgb() |
Return an integer representation of the Color. |
ToString() |
Creates a string representation of the Color. |
Operators
Equality(Color, Color) |
Determine if two Color structs have the same value. |
Implicit(Color to Int32) |
Implicitly casts a Color to an integer. |
Inequality(Color, Color) |
Determine if two Color structs do not have the same value. |