[]
Represents a color in 32bppBGRA format.
public struct PaletteColor : IEquatable<PaletteColor>, IFormattable
Initializes a new instance of the PaletteColor struct.
public PaletteColor(ColorF value)
value
ColorFThe source C1.Util.DX.ColorF.
Initializes a new instance of the PaletteColor struct.
public PaletteColor(Color color)
color
System.Drawing.ColorThe System.Drawing.Color value.
Initializes a new instance of the PaletteColor struct.
public PaletteColor(int red, int green, int blue, int alpha = 255)
red
intThe red component of the color.
green
intThe green component of the color.
blue
intThe blue component of the color.
alpha
intThe alpha component of the color.
Initializes a new instance of the PaletteColor struct.
public PaletteColor(uint argb)
argb
uintA packed unsigned integer containing all four color components in 32bppBGRA format.
AliceBlue color.
public static readonly PaletteColor AliceBlue
AntiqueWhite color.
public static readonly PaletteColor AntiqueWhite
Aqua color.
public static readonly PaletteColor Aqua
Aquamarine color.
public static readonly PaletteColor Aquamarine
Azure color.
public static readonly PaletteColor Azure
Beige color.
public static readonly PaletteColor Beige
Bisque color.
public static readonly PaletteColor Bisque
Black color.
public static readonly PaletteColor Black
BlanchedAlmond color.
public static readonly PaletteColor BlanchedAlmond
Blue color.
public static readonly PaletteColor Blue
BlueViolet color.
public static readonly PaletteColor BlueViolet
Brown color.
public static readonly PaletteColor Brown
BurlyWood color.
public static readonly PaletteColor BurlyWood
CadetBlue color.
public static readonly PaletteColor CadetBlue
Chartreuse color.
public static readonly PaletteColor Chartreuse
Chocolate color.
public static readonly PaletteColor Chocolate
Coral color.
public static readonly PaletteColor Coral
CornflowerBlue color.
public static readonly PaletteColor CornflowerBlue
Cornsilk color.
public static readonly PaletteColor Cornsilk
Crimson color.
public static readonly PaletteColor Crimson
Cyan color.
public static readonly PaletteColor Cyan
DarkBlue color.
public static readonly PaletteColor DarkBlue
DarkCyan color.
public static readonly PaletteColor DarkCyan
DarkGoldenrod color.
public static readonly PaletteColor DarkGoldenrod
DarkGray color.
public static readonly PaletteColor DarkGray
DarkGreen color.
public static readonly PaletteColor DarkGreen
DarkKhaki color.
public static readonly PaletteColor DarkKhaki
DarkMagenta color.
public static readonly PaletteColor DarkMagenta
DarkOliveGreen color.
public static readonly PaletteColor DarkOliveGreen
DarkOrange color.
public static readonly PaletteColor DarkOrange
DarkOrchid color.
public static readonly PaletteColor DarkOrchid
DarkRed color.
public static readonly PaletteColor DarkRed
DarkSalmon color.
public static readonly PaletteColor DarkSalmon
DarkSeaGreen color.
public static readonly PaletteColor DarkSeaGreen
DarkSlateBlue color.
public static readonly PaletteColor DarkSlateBlue
DarkSlateGray color.
public static readonly PaletteColor DarkSlateGray
DarkTurquoise color.
public static readonly PaletteColor DarkTurquoise
DarkViolet color.
public static readonly PaletteColor DarkViolet
DeepPink color.
public static readonly PaletteColor DeepPink
DeepSkyBlue color.
public static readonly PaletteColor DeepSkyBlue
DimGray color.
public static readonly PaletteColor DimGray
DodgerBlue color.
public static readonly PaletteColor DodgerBlue
Empty color.
public static readonly PaletteColor Empty
Firebrick color.
public static readonly PaletteColor Firebrick
FloralWhite color.
public static readonly PaletteColor FloralWhite
ForestGreen color.
public static readonly PaletteColor ForestGreen
Fuchsia color.
public static readonly PaletteColor Fuchsia
Gainsboro color.
public static readonly PaletteColor Gainsboro
GhostWhite color.
public static readonly PaletteColor GhostWhite
Gold color.
public static readonly PaletteColor Gold
Goldenrod color.
public static readonly PaletteColor Goldenrod
Gray color.
public static readonly PaletteColor Gray
Green color.
public static readonly PaletteColor Green
GreenYellow color.
public static readonly PaletteColor GreenYellow
Honeydew color.
public static readonly PaletteColor Honeydew
HotPink color.
public static readonly PaletteColor HotPink
IndianRed color.
public static readonly PaletteColor IndianRed
Indigo color.
public static readonly PaletteColor Indigo
Ivory color.
public static readonly PaletteColor Ivory
Khaki color.
public static readonly PaletteColor Khaki
Lavender color.
public static readonly PaletteColor Lavender
LavenderBlush color.
public static readonly PaletteColor LavenderBlush
LawnGreen color.
public static readonly PaletteColor LawnGreen
LemonChiffon color.
public static readonly PaletteColor LemonChiffon
LightBlue color.
public static readonly PaletteColor LightBlue
LightCoral color.
public static readonly PaletteColor LightCoral
LightCyan color.
public static readonly PaletteColor LightCyan
LightGoldenrodYellow color.
public static readonly PaletteColor LightGoldenrodYellow
LightGray color.
public static readonly PaletteColor LightGray
LightGreen color.
public static readonly PaletteColor LightGreen
LightPink color.
public static readonly PaletteColor LightPink
LightSalmon color.
public static readonly PaletteColor LightSalmon
LightSeaGreen color.
public static readonly PaletteColor LightSeaGreen
LightSkyBlue color.
public static readonly PaletteColor LightSkyBlue
LightSlateGray color.
public static readonly PaletteColor LightSlateGray
LightSteelBlue color.
public static readonly PaletteColor LightSteelBlue
LightYellow color.
public static readonly PaletteColor LightYellow
Lime color.
public static readonly PaletteColor Lime
LimeGreen color.
public static readonly PaletteColor LimeGreen
Linen color.
public static readonly PaletteColor Linen
Magenta color.
public static readonly PaletteColor Magenta
Maroon color.
public static readonly PaletteColor Maroon
MediumAquamarine color.
public static readonly PaletteColor MediumAquamarine
MediumBlue color.
public static readonly PaletteColor MediumBlue
MediumOrchid color.
public static readonly PaletteColor MediumOrchid
MediumPurple color.
public static readonly PaletteColor MediumPurple
MediumSeaGreen color.
public static readonly PaletteColor MediumSeaGreen
MediumSlateBlue color.
public static readonly PaletteColor MediumSlateBlue
MediumSpringGreen color.
public static readonly PaletteColor MediumSpringGreen
MediumTurquoise color.
public static readonly PaletteColor MediumTurquoise
MediumVioletRed color.
public static readonly PaletteColor MediumVioletRed
MidnightBlue color.
public static readonly PaletteColor MidnightBlue
MintCream color.
public static readonly PaletteColor MintCream
MistyRose color.
public static readonly PaletteColor MistyRose
Moccasin color.
public static readonly PaletteColor Moccasin
NavajoWhite color.
public static readonly PaletteColor NavajoWhite
Navy color.
public static readonly PaletteColor Navy
OldLace color.
public static readonly PaletteColor OldLace
Olive color.
public static readonly PaletteColor Olive
OliveDrab color.
public static readonly PaletteColor OliveDrab
Orange color.
public static readonly PaletteColor Orange
OrangeRed color.
public static readonly PaletteColor OrangeRed
Orchid color.
public static readonly PaletteColor Orchid
PaleGoldenrod color.
public static readonly PaletteColor PaleGoldenrod
PaleGreen color.
public static readonly PaletteColor PaleGreen
PaleTurquoise color.
public static readonly PaletteColor PaleTurquoise
PaleVioletRed color.
public static readonly PaletteColor PaleVioletRed
PapayaWhip color.
public static readonly PaletteColor PapayaWhip
PeachPuff color.
public static readonly PaletteColor PeachPuff
Peru color.
public static readonly PaletteColor Peru
Pink color.
public static readonly PaletteColor Pink
Plum color.
public static readonly PaletteColor Plum
PowderBlue color.
public static readonly PaletteColor PowderBlue
Purple color.
public static readonly PaletteColor Purple
Red color.
public static readonly PaletteColor Red
RosyBrown color.
public static readonly PaletteColor RosyBrown
RoyalBlue color.
public static readonly PaletteColor RoyalBlue
SaddleBrown color.
public static readonly PaletteColor SaddleBrown
Salmon color.
public static readonly PaletteColor Salmon
SandyBrown color.
public static readonly PaletteColor SandyBrown
SeaGreen color.
public static readonly PaletteColor SeaGreen
SeaShell color.
public static readonly PaletteColor SeaShell
Sienna color.
public static readonly PaletteColor Sienna
Silver color.
public static readonly PaletteColor Silver
SkyBlue color.
public static readonly PaletteColor SkyBlue
SlateBlue color.
public static readonly PaletteColor SlateBlue
SlateGray color.
public static readonly PaletteColor SlateGray
Snow color.
public static readonly PaletteColor Snow
SpringGreen color.
public static readonly PaletteColor SpringGreen
SteelBlue color.
public static readonly PaletteColor SteelBlue
Tan color.
public static readonly PaletteColor Tan
Teal color.
public static readonly PaletteColor Teal
Thistle color.
public static readonly PaletteColor Thistle
Tomato color.
public static readonly PaletteColor Tomato
Transparent color.
public static readonly PaletteColor Transparent
Turquoise color.
public static readonly PaletteColor Turquoise
The packed color value.
public int Value
Violet color.
public static readonly PaletteColor Violet
Wheat color.
public static readonly PaletteColor Wheat
White color.
public static readonly PaletteColor White
WhiteSmoke color.
public static readonly PaletteColor WhiteSmoke
Yellow color.
public static readonly PaletteColor Yellow
YellowGreen color.
public static readonly PaletteColor YellowGreen
The alpha component of the color.
public int A { get; set; }
The blue component of the color.
public int B { get; set; }
The green component of the color.
public int G { get; set; }
Gets whether this ColorF structure is uninitialized.
public bool IsEmpty { get; }
Gets a value indicating if we can skip drawing with this color.
public bool IsTransparent { get; }
The red component of the color.
public int R { get; set; }
Determines whether the specified PaletteColor is equal to this instance.
public bool Equals(PaletteColor other)
other
PaletteColorDetermines whether the specified object is equal to this instance.
public override bool Equals(object value)
value
objectReturns a hash code for this instance.
public override int GetHashCode()
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
Converts the color into a System.Drawing.Color.
public Color ToColor()
Converts the color into a C1.Util.DX.ColorF.
public ColorF ToColorF()
Returns a string that represents the current object.
public override string ToString()
Returns a string that represents this instance.
public string ToString(IFormatProvider formatProvider)
formatProvider
System.IFormatProviderThe format provider.
A string that represents this instance.
Returns a string that represents this instance.
public string ToString(string format, IFormatProvider formatProvider)
format
stringThe format.
formatProvider
System.IFormatProviderThe format provider.
A string that represents this instance.
Returns a string that represents this instance.
public string ToString(string format)
format
stringThe format.
A string that represents this instance.
Determines if the specified values are equal.
public static bool operator ==(PaletteColor left, PaletteColor right)
left
PaletteColorright
PaletteColorPerforms an explicit conversion from ColorF to PaletteColor.
public static explicit operator PaletteColor(ColorF color)
color
ColorFPerforms an explicit conversion from PaletteColor to C1.Util.DX.ColorF.
public static explicit operator ColorF(PaletteColor value)
value
PaletteColorPerforms an explicit conversion from PaletteColor to System.Drawing.Color.
public static explicit operator Color(PaletteColor value)
value
PaletteColorPerforms an explicit conversion from System.Drawing.Color to PaletteColor.
public static explicit operator PaletteColor(Color color)
color
System.Drawing.ColorDetermines if the specified values are not equal.
public static bool operator !=(PaletteColor left, PaletteColor right)
left
PaletteColorright
PaletteColor