Mac Guides | Samples

MonoMac.OpenGL.Color4 Structure

Represents a color with 4 floating-point components (R, G, B, A).

See Also: Color4

Syntax

public struct Color4 : IEquatable<Color4>

Requirements

Namespace: MonoMac.OpenGL
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0

The members of MonoMac.OpenGL.Color4 are listed below.

See Also: ValueType

Public Constructors

Constructs a new Color4 structure from the specified System.Drawing.Color.
Constructs a new Color4 structure from the specified components.
Constructs a new Color4 structure from the specified components.

Public Fields

ASingle. The alpha component of this Color4 structure.
BSingle. The blue component of this Color4 structure.
GSingle. The green component of this Color4 structure.
RSingle. The red component of this Color4 structure.

Public Properties

[read-only]
static
AliceBlueColor4. Gets the system color with (R, G, B, A) = (240, 248, 255, 255).
[read-only]
static
AntiqueWhiteColor4. Gets the system color with (R, G, B, A) = (250, 235, 215, 255).
[read-only]
static
AquaColor4. Gets the system color with (R, G, B, A) = (0, 255, 255, 255).
[read-only]
static
AquamarineColor4. Gets the system color with (R, G, B, A) = (127, 255, 212, 255).
[read-only]
static
AzureColor4. Gets the system color with (R, G, B, A) = (240, 255, 255, 255).
[read-only]
static
BeigeColor4. Gets the system color with (R, G, B, A) = (245, 245, 220, 255).
[read-only]
static
BisqueColor4. Gets the system color with (R, G, B, A) = (255, 228, 196, 255).
[read-only]
static
BlackColor4. Gets the system color with (R, G, B, A) = (0, 0, 0, 255).
[read-only]
static
BlanchedAlmondColor4. Gets the system color with (R, G, B, A) = (255, 235, 205, 255).
[read-only]
static
BlueColor4. Gets the system color with (R, G, B, A) = (0, 0, 255, 255).
[read-only]
static
BlueVioletColor4. Gets the system color with (R, G, B, A) = (138, 43, 226, 255).
[read-only]
static
BrownColor4. Gets the system color with (R, G, B, A) = (165, 42, 42, 255).
[read-only]
static
BurlyWoodColor4. Gets the system color with (R, G, B, A) = (222, 184, 135, 255).
[read-only]
static
CadetBlueColor4. Gets the system color with (R, G, B, A) = (95, 158, 160, 255).
[read-only]
static
ChartreuseColor4. Gets the system color with (R, G, B, A) = (127, 255, 0, 255).
[read-only]
static
ChocolateColor4. Gets the system color with (R, G, B, A) = (210, 105, 30, 255).
[read-only]
static
CoralColor4. Gets the system color with (R, G, B, A) = (255, 127, 80, 255).
[read-only]
static
CornflowerBlueColor4. Gets the system color with (R, G, B, A) = (100, 149, 237, 255).
[read-only]
static
CornsilkColor4. Gets the system color with (R, G, B, A) = (255, 248, 220, 255).
[read-only]
static
CrimsonColor4. Gets the system color with (R, G, B, A) = (220, 20, 60, 255).
[read-only]
static
CyanColor4. Gets the system color with (R, G, B, A) = (0, 255, 255, 255).
[read-only]
static
DarkBlueColor4. Gets the system color with (R, G, B, A) = (0, 0, 139, 255).
[read-only]
static
DarkCyanColor4. Gets the system color with (R, G, B, A) = (0, 139, 139, 255).
[read-only]
static
DarkGoldenrodColor4. Gets the system color with (R, G, B, A) = (184, 134, 11, 255).
[read-only]
static
DarkGrayColor4. Gets the system color with (R, G, B, A) = (169, 169, 169, 255).
[read-only]
static
DarkGreenColor4. Gets the system color with (R, G, B, A) = (0, 100, 0, 255).
[read-only]
static
DarkKhakiColor4. Gets the system color with (R, G, B, A) = (189, 183, 107, 255).
[read-only]
static
DarkMagentaColor4. Gets the system color with (R, G, B, A) = (139, 0, 139, 255).
[read-only]
static
DarkOliveGreenColor4. Gets the system color with (R, G, B, A) = (85, 107, 47, 255).
[read-only]
static
DarkOrangeColor4. Gets the system color with (R, G, B, A) = (255, 140, 0, 255).
[read-only]
static
DarkOrchidColor4. Gets the system color with (R, G, B, A) = (153, 50, 204, 255).
[read-only]
static
DarkRedColor4. Gets the system color with (R, G, B, A) = (139, 0, 0, 255).
[read-only]
static
DarkSalmonColor4. Gets the system color with (R, G, B, A) = (233, 150, 122, 255).
[read-only]
static
DarkSeaGreenColor4. Gets the system color with (R, G, B, A) = (143, 188, 139, 255).
[read-only]
static
DarkSlateBlueColor4. Gets the system color with (R, G, B, A) = (72, 61, 139, 255).
[read-only]
static
DarkSlateGrayColor4. Gets the system color with (R, G, B, A) = (47, 79, 79, 255).
[read-only]
static
DarkTurquoiseColor4. Gets the system color with (R, G, B, A) = (0, 206, 209, 255).
[read-only]
static
DarkVioletColor4. Gets the system color with (R, G, B, A) = (148, 0, 211, 255).
[read-only]
static
DeepPinkColor4. Gets the system color with (R, G, B, A) = (255, 20, 147, 255).
[read-only]
static
DeepSkyBlueColor4. Gets the system color with (R, G, B, A) = (0, 191, 255, 255).
[read-only]
static
DimGrayColor4. Gets the system color with (R, G, B, A) = (105, 105, 105, 255).
[read-only]
static
DodgerBlueColor4. Gets the system color with (R, G, B, A) = (30, 144, 255, 255).
[read-only]
static
FirebrickColor4. Gets the system color with (R, G, B, A) = (178, 34, 34, 255).
[read-only]
static
FloralWhiteColor4. Gets the system color with (R, G, B, A) = (255, 250, 240, 255).
[read-only]
static
ForestGreenColor4. Gets the system color with (R, G, B, A) = (34, 139, 34, 255).
[read-only]
static
FuchsiaColor4. Gets the system color with (R, G, B, A) = (255, 0, 255, 255).
[read-only]
static
GainsboroColor4. Gets the system color with (R, G, B, A) = (220, 220, 220, 255).
[read-only]
static
GhostWhiteColor4. Gets the system color with (R, G, B, A) = (248, 248, 255, 255).
[read-only]
static
GoldColor4. Gets the system color with (R, G, B, A) = (255, 215, 0, 255).
[read-only]
static
GoldenrodColor4. Gets the system color with (R, G, B, A) = (218, 165, 32, 255).
[read-only]
static
GrayColor4. Gets the system color with (R, G, B, A) = (128, 128, 128, 255).
[read-only]
static
GreenColor4. Gets the system color with (R, G, B, A) = (0, 128, 0, 255).
[read-only]
static
GreenYellowColor4. Gets the system color with (R, G, B, A) = (173, 255, 47, 255).
[read-only]
static
HoneydewColor4. Gets the system color with (R, G, B, A) = (240, 255, 240, 255).
[read-only]
static
HotPinkColor4. Gets the system color with (R, G, B, A) = (255, 105, 180, 255).
[read-only]
static
IndianRedColor4. Gets the system color with (R, G, B, A) = (205, 92, 92, 255).
[read-only]
static
IndigoColor4. Gets the system color with (R, G, B, A) = (75, 0, 130, 255).
[read-only]
static
IvoryColor4. Gets the system color with (R, G, B, A) = (255, 255, 240, 255).
[read-only]
static
KhakiColor4. Gets the system color with (R, G, B, A) = (240, 230, 140, 255).
[read-only]
static
LavenderColor4. Gets the system color with (R, G, B, A) = (230, 230, 250, 255).
[read-only]
static
LavenderBlushColor4. Gets the system color with (R, G, B, A) = (255, 240, 245, 255).
[read-only]
static
LawnGreenColor4. Gets the system color with (R, G, B, A) = (124, 252, 0, 255).
[read-only]
static
LemonChiffonColor4. Gets the system color with (R, G, B, A) = (255, 250, 205, 255).
[read-only]
static
LightBlueColor4. Gets the system color with (R, G, B, A) = (173, 216, 230, 255).
[read-only]
static
LightCoralColor4. Gets the system color with (R, G, B, A) = (240, 128, 128, 255).
[read-only]
static
LightCyanColor4. Gets the system color with (R, G, B, A) = (224, 255, 255, 255).
[read-only]
static
LightGoldenrodYellowColor4. Gets the system color with (R, G, B, A) = (250, 250, 210, 255).
[read-only]
static
LightGrayColor4. Gets the system color with (R, G, B, A) = (211, 211, 211, 255).
[read-only]
static
LightGreenColor4. Gets the system color with (R, G, B, A) = (144, 238, 144, 255).
[read-only]
static
LightPinkColor4. Gets the system color with (R, G, B, A) = (255, 182, 193, 255).
[read-only]
static
LightSalmonColor4. Gets the system color with (R, G, B, A) = (255, 160, 122, 255).
[read-only]
static
LightSeaGreenColor4. Gets the system color with (R, G, B, A) = (32, 178, 170, 255).
[read-only]
static
LightSkyBlueColor4. Gets the system color with (R, G, B, A) = (135, 206, 250, 255).
[read-only]
static
LightSlateGrayColor4. Gets the system color with (R, G, B, A) = (119, 136, 153, 255).
[read-only]
static
LightSteelBlueColor4. Gets the system color with (R, G, B, A) = (176, 196, 222, 255).
[read-only]
static
LightYellowColor4. Gets the system color with (R, G, B, A) = (255, 255, 224, 255).
[read-only]
static
LimeColor4. Gets the system color with (R, G, B, A) = (0, 255, 0, 255).
[read-only]
static
LimeGreenColor4. Gets the system color with (R, G, B, A) = (50, 205, 50, 255).
[read-only]
static
LinenColor4. Gets the system color with (R, G, B, A) = (250, 240, 230, 255).
[read-only]
static
MagentaColor4. Gets the system color with (R, G, B, A) = (255, 0, 255, 255).
[read-only]
static
MaroonColor4. Gets the system color with (R, G, B, A) = (128, 0, 0, 255).
[read-only]
static
MediumAquamarineColor4. Gets the system color with (R, G, B, A) = (102, 205, 170, 255).
[read-only]
static
MediumBlueColor4. Gets the system color with (R, G, B, A) = (0, 0, 205, 255).
[read-only]
static
MediumOrchidColor4. Gets the system color with (R, G, B, A) = (186, 85, 211, 255).
[read-only]
static
MediumPurpleColor4. Gets the system color with (R, G, B, A) = (147, 112, 219, 255).
[read-only]
static
MediumSeaGreenColor4. Gets the system color with (R, G, B, A) = (60, 179, 113, 255).
[read-only]
static
MediumSlateBlueColor4. Gets the system color with (R, G, B, A) = (123, 104, 238, 255).
[read-only]
static
MediumSpringGreenColor4. Gets the system color with (R, G, B, A) = (0, 250, 154, 255).
[read-only]
static
MediumTurquoiseColor4. Gets the system color with (R, G, B, A) = (72, 209, 204, 255).
[read-only]
static
MediumVioletRedColor4. Gets the system color with (R, G, B, A) = (199, 21, 133, 255).
[read-only]
static
MidnightBlueColor4. Gets the system color with (R, G, B, A) = (25, 25, 112, 255).
[read-only]
static
MintCreamColor4. Gets the system color with (R, G, B, A) = (245, 255, 250, 255).
[read-only]
static
MistyRoseColor4. Gets the system color with (R, G, B, A) = (255, 228, 225, 255).
[read-only]
static
MoccasinColor4. Gets the system color with (R, G, B, A) = (255, 228, 181, 255).
[read-only]
static
NavajoWhiteColor4. Gets the system color with (R, G, B, A) = (255, 222, 173, 255).
[read-only]
static
NavyColor4. Gets the system color with (R, G, B, A) = (0, 0, 128, 255).
[read-only]
static
OldLaceColor4. Gets the system color with (R, G, B, A) = (253, 245, 230, 255).
[read-only]
static
OliveColor4. Gets the system color with (R, G, B, A) = (128, 128, 0, 255).
[read-only]
static
OliveDrabColor4. Gets the system color with (R, G, B, A) = (107, 142, 35, 255).
[read-only]
static
OrangeColor4. Gets the system color with (R, G, B, A) = (255, 165, 0, 255).
[read-only]
static
OrangeRedColor4. Gets the system color with (R, G, B, A) = (255, 69, 0, 255).
[read-only]
static
OrchidColor4. Gets the system color with (R, G, B, A) = (218, 112, 214, 255).
[read-only]
static
PaleGoldenrodColor4. Gets the system color with (R, G, B, A) = (238, 232, 170, 255).
[read-only]
static
PaleGreenColor4. Gets the system color with (R, G, B, A) = (152, 251, 152, 255).
[read-only]
static
PaleTurquoiseColor4. Gets the system color with (R, G, B, A) = (175, 238, 238, 255).
[read-only]
static
PaleVioletRedColor4. Gets the system color with (R, G, B, A) = (219, 112, 147, 255).
[read-only]
static
PapayaWhipColor4. Gets the system color with (R, G, B, A) = (255, 239, 213, 255).
[read-only]
static
PeachPuffColor4. Gets the system color with (R, G, B, A) = (255, 218, 185, 255).
[read-only]
static
PeruColor4. Gets the system color with (R, G, B, A) = (205, 133, 63, 255).
[read-only]
static
PinkColor4. Gets the system color with (R, G, B, A) = (255, 192, 203, 255).
[read-only]
static
PlumColor4. Gets the system color with (R, G, B, A) = (221, 160, 221, 255).
[read-only]
static
PowderBlueColor4. Gets the system color with (R, G, B, A) = (176, 224, 230, 255).
[read-only]
static
PurpleColor4. Gets the system color with (R, G, B, A) = (128, 0, 128, 255).
[read-only]
static
RedColor4. Gets the system color with (R, G, B, A) = (255, 0, 0, 255).
[read-only]
static
RosyBrownColor4. Gets the system color with (R, G, B, A) = (188, 143, 143, 255).
[read-only]
static
RoyalBlueColor4. Gets the system color with (R, G, B, A) = (65, 105, 225, 255).
[read-only]
static
SaddleBrownColor4. Gets the system color with (R, G, B, A) = (139, 69, 19, 255).
[read-only]
static
SalmonColor4. Gets the system color with (R, G, B, A) = (250, 128, 114, 255).
[read-only]
static
SandyBrownColor4. Gets the system color with (R, G, B, A) = (244, 164, 96, 255).
[read-only]
static
SeaGreenColor4. Gets the system color with (R, G, B, A) = (46, 139, 87, 255).
[read-only]
static
SeaShellColor4. Gets the system color with (R, G, B, A) = (255, 245, 238, 255).
[read-only]
static
SiennaColor4. Gets the system color with (R, G, B, A) = (160, 82, 45, 255).
[read-only]
static
SilverColor4. Gets the system color with (R, G, B, A) = (192, 192, 192, 255).
[read-only]
static
SkyBlueColor4. Gets the system color with (R, G, B, A) = (135, 206, 235, 255).
[read-only]
static
SlateBlueColor4. Gets the system color with (R, G, B, A) = (106, 90, 205, 255).
[read-only]
static
SlateGrayColor4. Gets the system color with (R, G, B, A) = (112, 128, 144, 255).
[read-only]
static
SnowColor4. Gets the system color with (R, G, B, A) = (255, 250, 250, 255).
[read-only]
static
SpringGreenColor4. Gets the system color with (R, G, B, A) = (0, 255, 127, 255).
[read-only]
static
SteelBlueColor4. Gets the system color with (R, G, B, A) = (70, 130, 180, 255).
[read-only]
static
TanColor4. Gets the system color with (R, G, B, A) = (210, 180, 140, 255).
[read-only]
static
TealColor4. Gets the system color with (R, G, B, A) = (0, 128, 128, 255).
[read-only]
static
ThistleColor4. Gets the system color with (R, G, B, A) = (216, 191, 216, 255).
[read-only]
static
TomatoColor4. Gets the system color with (R, G, B, A) = (255, 99, 71, 255).
[read-only]
static
TransparentColor4. Gets the system color with (R, G, B, A) = (255, 255, 255, 0).
[read-only]
static
TurquoiseColor4. Gets the system color with (R, G, B, A) = (64, 224, 208, 255).
[read-only]
static
VioletColor4. Gets the system color with (R, G, B, A) = (238, 130, 238, 255).
[read-only]
static
WheatColor4. Gets the system color with (R, G, B, A) = (245, 222, 179, 255).
[read-only]
static
WhiteColor4. Gets the system color with (R, G, B, A) = (255, 255, 255, 255).
[read-only]
static
WhiteSmokeColor4. Gets the system color with (R, G, B, A) = (245, 245, 245, 255).
[read-only]
static
YellowColor4. Gets the system color with (R, G, B, A) = (255, 255, 0, 255).
[read-only]
static
YellowGreenColor4. Gets the system color with (R, G, B, A) = (154, 205, 50, 255).

Public Methods

Equals(Color4) : Boolean
Compares whether this Color4 structure is equal to the specified Color4.
override
Equals(Object) : Boolean
Compares whether this Color4 structure is equal to the specified object.
override
GetHashCode() : Int32
Calculates the hash code for this Color4 structure.
ToArgb() : Int32
Converts this color to an integer representation with 8 bits per channel.
override
ToString() : String
Creates a System.String that describes this Color4 structure.

Public Operators

static
Equality(Color4, Color4) Compares the specified Color4 structures for equality.
static
Inequality(Color4, Color4) Compares the specified Color4 structures for inequality.
static
Conversion to System.Drawing.Color(Explicit) Converts the specified Color4 to a System.Drawing.Color structure.
static
Conversion to MonoMac.OpenGL.Color4(Implicit) Converts the specified System.Drawing.Color to a Color4 structure.