Class DrawingColor
A Color that is used for Shapes, Charts and other drawing objects.
Inherited Members
Namespace: DRIT.Document.Drawing
Assembly: DRIT.Document.dll
Syntax
public class DrawingColor
Constructors
DrawingColor(byte, byte, byte)
Gets the DrawingColor drawing color.
Declaration
public DrawingColor(byte r, byte g, byte b)
Parameters
| Type | Name | Description |
|---|---|---|
| byte | r | The r used by the operation. |
| byte | g | The g used by the operation. |
| byte | b | The b used by the operation. |
DrawingColor(Color)
Gets the DrawingColor drawing color.
Declaration
public DrawingColor(Color color)
Parameters
| Type | Name | Description |
|---|---|---|
| Color | color | The color used by the operation. |
DrawingColor(float, float, float)
Gets the DrawingColor drawing color.
Declaration
public DrawingColor(float r, float g, float b)
Parameters
| Type | Name | Description |
|---|---|---|
| float | r | The r used by the operation. |
| float | g | The g used by the operation. |
| float | b | The b used by the operation. |
DrawingColor(string)
Gets the DrawingColor drawing color.
Declaration
public DrawingColor(string hexColor)
Parameters
| Type | Name | Description |
|---|---|---|
| string | hexColor | The hex Color used by the operation. |
Properties
A
Gets the A drawing color.
Declaration
public byte A { get; }
Property Value
| Type | Description |
|---|---|
| byte |
Accent1
Gets the Accent1 drawing color.
Declaration
public static DrawingColor Accent1 { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Accent2
Gets the Accent2 drawing color.
Declaration
public static DrawingColor Accent2 { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Accent3
Gets the Accent3 drawing color.
Declaration
public static DrawingColor Accent3 { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Accent4
Gets the Accent4 drawing color.
Declaration
public static DrawingColor Accent4 { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Accent5
Gets the Accent5 drawing color.
Declaration
public static DrawingColor Accent5 { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Accent6
Gets the Accent6 drawing color.
Declaration
public static DrawingColor Accent6 { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
ActiveBorder
Gets the ActiveBorder drawing color.
Declaration
public static DrawingColor ActiveBorder { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
ActiveCaption
Gets the ActiveCaption drawing color.
Declaration
public static DrawingColor ActiveCaption { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
AliceBlue
Gets the AliceBlue drawing color.
Declaration
public static DrawingColor AliceBlue { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
AntiqueWhite
Gets the AntiqueWhite drawing color.
Declaration
public static DrawingColor AntiqueWhite { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
AppWorkspace
Gets the AppWorkspace drawing color.
Declaration
public static DrawingColor AppWorkspace { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Aqua
Gets the Aqua drawing color.
Declaration
public static DrawingColor Aqua { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Aquamarine
Gets the Aquamarine drawing color.
Declaration
public static DrawingColor Aquamarine { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Azure
Gets the Azure drawing color.
Declaration
public static DrawingColor Azure { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
B
Gets the B drawing color.
Declaration
public byte B { get; }
Property Value
| Type | Description |
|---|---|
| byte |
Background
Gets the Background drawing color.
Declaration
public static DrawingColor Background { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Background1
Gets the Background1 drawing color.
Declaration
public static DrawingColor Background1 { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Background2
Gets the Background2 drawing color.
Declaration
public static DrawingColor Background2 { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Beige
Gets the Beige drawing color.
Declaration
public static DrawingColor Beige { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Bisque
Gets the Bisque drawing color.
Declaration
public static DrawingColor Bisque { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Black
Gets the Black drawing color.
Declaration
public static DrawingColor Black { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
BlanchedAlmond
Gets the BlanchedAlmond drawing color.
Declaration
public static DrawingColor BlanchedAlmond { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Blue
Gets the Blue drawing color.
Declaration
public static DrawingColor Blue { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
BlueViolet
Gets the BlueViolet drawing color.
Declaration
public static DrawingColor BlueViolet { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Brown
Gets the Brown drawing color.
Declaration
public static DrawingColor Brown { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
BurlyWood
Gets the BurlyWood drawing color.
Declaration
public static DrawingColor BurlyWood { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
ButtonFace
Gets the ButtonFace drawing color.
Declaration
public static DrawingColor ButtonFace { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
ButtonHighlight
Gets the ButtonHighlight drawing color.
Declaration
public static DrawingColor ButtonHighlight { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
ButtonShadow
Gets the ButtonShadow drawing color.
Declaration
public static DrawingColor ButtonShadow { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
ButtonText
Gets the ButtonText drawing color.
Declaration
public static DrawingColor ButtonText { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
CadetBlue
Gets the CadetBlue drawing color.
Declaration
public static DrawingColor CadetBlue { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
CaptionText
Gets the CaptionText drawing color.
Declaration
public static DrawingColor CaptionText { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Chartreuse
Gets the Chartreuse drawing color.
Declaration
public static DrawingColor Chartreuse { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Chocolate
Gets the Chocolate drawing color.
Declaration
public static DrawingColor Chocolate { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Coral
Gets the Coral drawing color.
Declaration
public static DrawingColor Coral { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
CornflowerBlue
Gets the CornflowerBlue drawing color.
Declaration
public static DrawingColor CornflowerBlue { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Cornsilk
Gets the Cornsilk drawing color.
Declaration
public static DrawingColor Cornsilk { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Crimson
Gets the Crimson drawing color.
Declaration
public static DrawingColor Crimson { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Cyan
Gets the Cyan drawing color.
Declaration
public static DrawingColor Cyan { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Dark1
Gets the Dark1 drawing color.
Declaration
public static DrawingColor Dark1 { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Dark2
Gets the Dark2 drawing color.
Declaration
public static DrawingColor Dark2 { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
DarkBlue
Gets the DarkBlue drawing color.
Declaration
public static DrawingColor DarkBlue { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
DarkCyan
Gets the DarkCyan drawing color.
Declaration
public static DrawingColor DarkCyan { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
DarkGoldenrod
Gets the DarkGoldenrod drawing color.
Declaration
public static DrawingColor DarkGoldenrod { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
DarkGray
Gets the DarkGray drawing color.
Declaration
public static DrawingColor DarkGray { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
DarkGreen
Gets the DarkGreen drawing color.
Declaration
public static DrawingColor DarkGreen { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
DarkKhaki
Gets the DarkKhaki drawing color.
Declaration
public static DrawingColor DarkKhaki { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
DarkMagenta
Gets the DarkMagenta drawing color.
Declaration
public static DrawingColor DarkMagenta { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
DarkOliveGreen
Gets the DarkOliveGreen drawing color.
Declaration
public static DrawingColor DarkOliveGreen { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
DarkOrange
Gets the DarkOrange drawing color.
Declaration
public static DrawingColor DarkOrange { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
DarkOrchid
Gets the DarkOrchid drawing color.
Declaration
public static DrawingColor DarkOrchid { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
DarkRed
Gets the DarkRed drawing color.
Declaration
public static DrawingColor DarkRed { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
DarkSalmon
Gets the DarkSalmon drawing color.
Declaration
public static DrawingColor DarkSalmon { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
DarkSeaGreen
Gets the DarkSeaGreen drawing color.
Declaration
public static DrawingColor DarkSeaGreen { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
DarkShadow3D
Gets the DarkShadow3D drawing color.
Declaration
public static DrawingColor DarkShadow3D { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
DarkSlateBlue
Gets the DarkSlateBlue drawing color.
Declaration
public static DrawingColor DarkSlateBlue { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
DarkSlateGray
Gets the DarkSlateGray drawing color.
Declaration
public static DrawingColor DarkSlateGray { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
DarkTurquoise
Gets the DarkTurquoise drawing color.
Declaration
public static DrawingColor DarkTurquoise { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
DarkViolet
Gets the DarkViolet drawing color.
Declaration
public static DrawingColor DarkViolet { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
DeepPink
Gets the DeepPink drawing color.
Declaration
public static DrawingColor DeepPink { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
DeepSkyBlue
Gets the DeepSkyBlue drawing color.
Declaration
public static DrawingColor DeepSkyBlue { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
DimGray
Gets the DimGray drawing color.
Declaration
public static DrawingColor DimGray { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
DodgerBlue
Gets the DodgerBlue drawing color.
Declaration
public static DrawingColor DodgerBlue { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Firebrick
Gets the Firebrick drawing color.
Declaration
public static DrawingColor Firebrick { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
FloralWhite
Gets the FloralWhite drawing color.
Declaration
public static DrawingColor FloralWhite { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
FollowedHyperlink
Gets the FollowedHyperlink drawing color.
Declaration
public static DrawingColor FollowedHyperlink { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
ForestGreen
Gets the ForestGreen drawing color.
Declaration
public static DrawingColor ForestGreen { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Fuchsia
Gets the Fuchsia drawing color.
Declaration
public static DrawingColor Fuchsia { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
G
Gets the G drawing color.
Declaration
public byte G { get; }
Property Value
| Type | Description |
|---|---|
| byte |
Gainsboro
Gets the Gainsboro drawing color.
Declaration
public static DrawingColor Gainsboro { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
GhostWhite
Gets the GhostWhite drawing color.
Declaration
public static DrawingColor GhostWhite { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Gold
Gets the Gold drawing color.
Declaration
public static DrawingColor Gold { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Goldenrod
Gets the Goldenrod drawing color.
Declaration
public static DrawingColor Goldenrod { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
GradientActiveCaption
Gets the GradientActiveCaption drawing color.
Declaration
public static DrawingColor GradientActiveCaption { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
GradientInactiveCaption
Gets the GradientInactiveCaption drawing color.
Declaration
public static DrawingColor GradientInactiveCaption { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Gray
Gets the Gray drawing color.
Declaration
public static DrawingColor Gray { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
GrayText
Gets the GrayText drawing color.
Declaration
public static DrawingColor GrayText { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Green
Gets the Green drawing color.
Declaration
public static DrawingColor Green { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
GreenYellow
Gets the GreenYellow drawing color.
Declaration
public static DrawingColor GreenYellow { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
H
Gets the H drawing color.
Declaration
public double H { get; }
Property Value
| Type | Description |
|---|---|
| double |
HexColor
Gets the HexColor drawing color.
Declaration
public string HexColor { get; }
Property Value
| Type | Description |
|---|---|
| string |
Highlight
Gets the Highlight drawing color.
Declaration
public static DrawingColor Highlight { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
HighlightText
Gets the HighlightText drawing color.
Declaration
public static DrawingColor HighlightText { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Honeydew
Gets the Honeydew drawing color.
Declaration
public static DrawingColor Honeydew { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
HotLight
Gets the HotLight drawing color.
Declaration
public static DrawingColor HotLight { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
HotPink
Gets the HotPink drawing color.
Declaration
public static DrawingColor HotPink { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Hyperlink
Gets the Hyperlink drawing color.
Declaration
public static DrawingColor Hyperlink { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
InactiveBorder
Gets the InactiveBorder drawing color.
Declaration
public static DrawingColor InactiveBorder { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
InactiveCaption
Gets the InactiveCaption drawing color.
Declaration
public static DrawingColor InactiveCaption { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
InactiveCaptionText
Gets the InactiveCaptionText drawing color.
Declaration
public static DrawingColor InactiveCaptionText { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
IndianRed
Gets the IndianRed drawing color.
Declaration
public static DrawingColor IndianRed { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Indigo
Gets the Indigo drawing color.
Declaration
public static DrawingColor Indigo { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
InfoBk
Gets the InfoBk drawing color.
Declaration
public static DrawingColor InfoBk { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
InfoText
Gets the InfoText drawing color.
Declaration
public static DrawingColor InfoText { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Ivory
Gets the Ivory drawing color.
Declaration
public static DrawingColor Ivory { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Khaki
Gets the Khaki drawing color.
Declaration
public static DrawingColor Khaki { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
L
Gets the L drawing color.
Declaration
public double L { get; }
Property Value
| Type | Description |
|---|---|
| double |
Lavender
Gets the Lavender drawing color.
Declaration
public static DrawingColor Lavender { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
LavenderBlush
Gets the LavenderBlush drawing color.
Declaration
public static DrawingColor LavenderBlush { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
LawnGreen
Gets the LawnGreen drawing color.
Declaration
public static DrawingColor LawnGreen { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
LemonChiffon
Gets the LemonChiffon drawing color.
Declaration
public static DrawingColor LemonChiffon { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Light1
Gets the Light1 drawing color.
Declaration
public static DrawingColor Light1 { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Light2
Gets the Light2 drawing color.
Declaration
public static DrawingColor Light2 { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Light3D
Gets the Light3D drawing color.
Declaration
public static DrawingColor Light3D { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
LightBlue
Gets the LightBlue drawing color.
Declaration
public static DrawingColor LightBlue { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
LightCoral
Gets the LightCoral drawing color.
Declaration
public static DrawingColor LightCoral { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
LightCyan
Gets the LightCyan drawing color.
Declaration
public static DrawingColor LightCyan { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
LightGoldenrodYellow
Gets the LightGoldenrodYellow drawing color.
Declaration
public static DrawingColor LightGoldenrodYellow { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
LightGray
Gets the LightGray drawing color.
Declaration
public static DrawingColor LightGray { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
LightGreen
Gets the LightGreen drawing color.
Declaration
public static DrawingColor LightGreen { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
LightPink
Gets the LightPink drawing color.
Declaration
public static DrawingColor LightPink { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
LightSalmon
Gets the LightSalmon drawing color.
Declaration
public static DrawingColor LightSalmon { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
LightSeaGreen
Gets the LightSeaGreen drawing color.
Declaration
public static DrawingColor LightSeaGreen { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
LightSkyBlue
Gets the LightSkyBlue drawing color.
Declaration
public static DrawingColor LightSkyBlue { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
LightSlateGray
Gets the LightSlateGray drawing color.
Declaration
public static DrawingColor LightSlateGray { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
LightSteelBlue
Gets the LightSteelBlue drawing color.
Declaration
public static DrawingColor LightSteelBlue { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
LightYellow
Gets the LightYellow drawing color.
Declaration
public static DrawingColor LightYellow { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Lime
Gets the Lime drawing color.
Declaration
public static DrawingColor Lime { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
LimeGreen
Gets the LimeGreen drawing color.
Declaration
public static DrawingColor LimeGreen { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Linen
Gets the Linen drawing color.
Declaration
public static DrawingColor Linen { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Magenta
Gets the Magenta drawing color.
Declaration
public static DrawingColor Magenta { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Maroon
Gets the Maroon drawing color.
Declaration
public static DrawingColor Maroon { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
MediumAquamarine
Gets the MediumAquamarine drawing color.
Declaration
public static DrawingColor MediumAquamarine { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
MediumBlue
Gets the MediumBlue drawing color.
Declaration
public static DrawingColor MediumBlue { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
MediumOrchid
Gets the MediumOrchid drawing color.
Declaration
public static DrawingColor MediumOrchid { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
MediumPurple
Gets the MediumPurple drawing color.
Declaration
public static DrawingColor MediumPurple { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
MediumSeaGreen
Gets the MediumSeaGreen drawing color.
Declaration
public static DrawingColor MediumSeaGreen { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
MediumSlateBlue
Gets the MediumSlateBlue drawing color.
Declaration
public static DrawingColor MediumSlateBlue { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
MediumSpringGreen
Gets the MediumSpringGreen drawing color.
Declaration
public static DrawingColor MediumSpringGreen { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
MediumTurquoise
Gets the MediumTurquoise drawing color.
Declaration
public static DrawingColor MediumTurquoise { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
MediumVioletRed
Gets the MediumVioletRed drawing color.
Declaration
public static DrawingColor MediumVioletRed { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Menu
Gets the Menu drawing color.
Declaration
public static DrawingColor Menu { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
MenuBar
Gets the MenuBar drawing color.
Declaration
public static DrawingColor MenuBar { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
MenuHighlight
Gets the MenuHighlight drawing color.
Declaration
public static DrawingColor MenuHighlight { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
MenuText
Gets the MenuText drawing color.
Declaration
public static DrawingColor MenuText { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
MidnightBlue
Gets the MidnightBlue drawing color.
Declaration
public static DrawingColor MidnightBlue { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
MintCream
Gets the MintCream drawing color.
Declaration
public static DrawingColor MintCream { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
MistyRose
Gets the MistyRose drawing color.
Declaration
public static DrawingColor MistyRose { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Moccasin
Gets the Moccasin drawing color.
Declaration
public static DrawingColor Moccasin { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
NavajoWhite
Gets the NavajoWhite drawing color.
Declaration
public static DrawingColor NavajoWhite { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Navy
Gets the Navy drawing color.
Declaration
public static DrawingColor Navy { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
OldLace
Gets the OldLace drawing color.
Declaration
public static DrawingColor OldLace { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Olive
Gets the Olive drawing color.
Declaration
public static DrawingColor Olive { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
OliveDrab
Gets the OliveDrab drawing color.
Declaration
public static DrawingColor OliveDrab { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Orange
Gets the Orange drawing color.
Declaration
public static DrawingColor Orange { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
OrangeRed
Gets the OrangeRed drawing color.
Declaration
public static DrawingColor OrangeRed { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Orchid
Gets the Orchid drawing color.
Declaration
public static DrawingColor Orchid { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
PaleGoldenrod
Gets the PaleGoldenrod drawing color.
Declaration
public static DrawingColor PaleGoldenrod { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
PaleGreen
Gets the PaleGreen drawing color.
Declaration
public static DrawingColor PaleGreen { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
PaleTurquoise
Gets the PaleTurquoise drawing color.
Declaration
public static DrawingColor PaleTurquoise { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
PaleVioletRed
Gets the PaleVioletRed drawing color.
Declaration
public static DrawingColor PaleVioletRed { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
PapayaWhip
Gets the PapayaWhip drawing color.
Declaration
public static DrawingColor PapayaWhip { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
PeachPuff
Gets the PeachPuff drawing color.
Declaration
public static DrawingColor PeachPuff { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Peru
Gets the Peru drawing color.
Declaration
public static DrawingColor Peru { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Pink
Gets the Pink drawing color.
Declaration
public static DrawingColor Pink { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Plum
Gets the Plum drawing color.
Declaration
public static DrawingColor Plum { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
PowderBlue
Gets the PowderBlue drawing color.
Declaration
public static DrawingColor PowderBlue { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Purple
Gets the Purple drawing color.
Declaration
public static DrawingColor Purple { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
R
Gets the R drawing color.
Declaration
public byte R { get; }
Property Value
| Type | Description |
|---|---|
| byte |
Red
Gets the Red drawing color.
Declaration
public static DrawingColor Red { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
RosyBrown
Gets the RosyBrown drawing color.
Declaration
public static DrawingColor RosyBrown { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
RoyalBlue
Gets the RoyalBlue drawing color.
Declaration
public static DrawingColor RoyalBlue { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
S
Gets the S drawing color.
Declaration
public double S { get; }
Property Value
| Type | Description |
|---|---|
| double |
SaddleBrown
Gets the SaddleBrown drawing color.
Declaration
public static DrawingColor SaddleBrown { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Salmon
Gets the Salmon drawing color.
Declaration
public static DrawingColor Salmon { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
SandyBrown
Gets the SandyBrown drawing color.
Declaration
public static DrawingColor SandyBrown { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
ScrollBar
Gets the ScrollBar drawing color.
Declaration
public static DrawingColor ScrollBar { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
SeaGreen
Gets the SeaGreen drawing color.
Declaration
public static DrawingColor SeaGreen { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
SeaShell
Gets the SeaShell drawing color.
Declaration
public static DrawingColor SeaShell { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Sienna
Gets the Sienna drawing color.
Declaration
public static DrawingColor Sienna { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Silver
Gets the Silver drawing color.
Declaration
public static DrawingColor Silver { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
SkyBlue
Gets the SkyBlue drawing color.
Declaration
public static DrawingColor SkyBlue { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
SlateBlue
Gets the SlateBlue drawing color.
Declaration
public static DrawingColor SlateBlue { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
SlateGray
Gets the SlateGray drawing color.
Declaration
public static DrawingColor SlateGray { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Snow
Gets the Snow drawing color.
Declaration
public static DrawingColor Snow { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
SpringGreen
Gets the SpringGreen drawing color.
Declaration
public static DrawingColor SpringGreen { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
SteelBlue
Gets the SteelBlue drawing color.
Declaration
public static DrawingColor SteelBlue { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Style
Gets the Style drawing color.
Declaration
public static DrawingColor Style { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
SystemColor
Gets the SystemColor drawing color.
Declaration
public SystemColorValue? SystemColor { get; }
Property Value
| Type | Description |
|---|---|
| SystemColorValue? |
Tan
Gets the Tan drawing color.
Declaration
public static DrawingColor Tan { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Teal
Gets the Teal drawing color.
Declaration
public static DrawingColor Teal { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Text1
Gets the Text1 drawing color.
Declaration
public static DrawingColor Text1 { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Text2
Gets the Text2 drawing color.
Declaration
public static DrawingColor Text2 { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Theme
Gets the Theme drawing color.
Declaration
public ThemeColor? Theme { get; }
Property Value
| Type | Description |
|---|---|
| ThemeColor? |
Thistle
Gets the Thistle drawing color.
Declaration
public static DrawingColor Thistle { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Tomato
Gets the Tomato drawing color.
Declaration
public static DrawingColor Tomato { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Transforms
Gets the Transforms drawing color.
Declaration
public List<ColorTransform> Transforms { get; }
Property Value
| Type | Description |
|---|---|
| List<ColorTransform> |
Turquoise
Gets the Turquoise drawing color.
Declaration
public static DrawingColor Turquoise { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Type
Gets the Type drawing color.
Declaration
public DrawingColorType Type { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColorType |
Violet
Gets the Violet drawing color.
Declaration
public static DrawingColor Violet { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Wheat
Gets the Wheat drawing color.
Declaration
public static DrawingColor Wheat { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
White
Gets the White drawing color.
Declaration
public static DrawingColor White { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
WhiteSmoke
Gets the WhiteSmoke drawing color.
Declaration
public static DrawingColor WhiteSmoke { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Window
Gets the Window drawing color.
Declaration
public static DrawingColor Window { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
WindowFrame
Gets the WindowFrame drawing color.
Declaration
public static DrawingColor WindowFrame { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
WindowText
Gets the WindowText drawing color.
Declaration
public static DrawingColor WindowText { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Yellow
Gets the Yellow drawing color.
Declaration
public static DrawingColor Yellow { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
YellowGreen
Gets the YellowGreen drawing color.
Declaration
public static DrawingColor YellowGreen { get; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
Methods
Equals(DrawingColor)
Gets the Equals drawing color.
Declaration
protected bool Equals(DrawingColor other)
Parameters
| Type | Name | Description |
|---|---|---|
| DrawingColor | other | The other used by the operation. |
Returns
| Type | Description |
|---|---|
| bool | The resulting value. |
Equals(object)
Gets the Equals drawing color.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The obj used by the operation. |
Returns
| Type | Description |
|---|---|
| bool | The resulting value. |
Overrides
FromArgb(byte, byte, byte, byte)
Gets the FromArgb drawing color.
Declaration
public static DrawingColor FromArgb(byte a, byte r, byte g, byte b)
Parameters
| Type | Name | Description |
|---|---|---|
| byte | a | The a used by the operation. |
| byte | r | The r used by the operation. |
| byte | g | The g used by the operation. |
| byte | b | The b used by the operation. |
Returns
| Type | Description |
|---|---|
| DrawingColor | The resulting value. |
FromColorName(string)
Gets the FromColorName drawing color.
Declaration
public static DrawingColor FromColorName(string colorName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | colorName | The color Name used by the operation. |
Returns
| Type | Description |
|---|---|
| DrawingColor | The resulting value. |
FromHex(string)
Gets the FromHex drawing color.
Declaration
public static DrawingColor FromHex(string hex)
Parameters
| Type | Name | Description |
|---|---|---|
| string | hex | The hex used by the operation. |
Returns
| Type | Description |
|---|---|
| DrawingColor | The resulting value. |
FromHsl(double, double, double)
Gets the FromHsl drawing color.
Declaration
public static DrawingColor FromHsl(double hue, double saturation, double luminance)
Parameters
| Type | Name | Description |
|---|---|---|
| double | hue | The hue used by the operation. |
| double | saturation | The saturation used by the operation. |
| double | luminance | The luminance used by the operation. |
Returns
| Type | Description |
|---|---|
| DrawingColor | The resulting value. |
FromHslColor(Hsl)
Gets the FromHslColor drawing color.
Declaration
public static ARgb FromHslColor(Hsl hsl)
Parameters
| Type | Name | Description |
|---|---|---|
| Hsl | hsl | The hsl used by the operation. |
Returns
| Type | Description |
|---|---|
| ARgb | The resulting value. |
FromRgb(byte, byte, byte)
Gets the FromRgb drawing color.
Declaration
public static DrawingColor FromRgb(byte r, byte g, byte b)
Parameters
| Type | Name | Description |
|---|---|---|
| byte | r | The r used by the operation. |
| byte | g | The g used by the operation. |
| byte | b | The b used by the operation. |
Returns
| Type | Description |
|---|---|
| DrawingColor | The resulting value. |
FromScRgb(float, float, float)
Gets the FromScRgb drawing color.
Declaration
public static DrawingColor FromScRgb(float r, float g, float b)
Parameters
| Type | Name | Description |
|---|---|---|
| float | r | The r used by the operation. |
| float | g | The g used by the operation. |
| float | b | The b used by the operation. |
Returns
| Type | Description |
|---|---|
| DrawingColor | The resulting value. |
GetContrast(bool)
Returns the requested contrast.
Declaration
public DrawingColor GetContrast(bool preserveOpacity)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | preserveOpacity |
Returns
| Type | Description |
|---|---|
| DrawingColor |
Remarks
GetHashCode()
Gets the GetHashCode drawing color.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | The resulting value. |
Overrides
ToArgb()
Gets the ToArgb drawing color.
Declaration
public int ToArgb()
Returns
| Type | Description |
|---|---|
| int | The resulting value. |
ToArgb(Theme)
Gets the ToArgb drawing color.
Declaration
public int ToArgb(Theme theme)
Parameters
| Type | Name | Description |
|---|---|---|
| Theme | theme | The theme used by the operation. |
Returns
| Type | Description |
|---|---|
| int | The resulting value. |
ToColor()
Gets the ToColor drawing color.
Declaration
public Color ToColor()
Returns
| Type | Description |
|---|---|
| Color | The resulting value. |
ToHex()
Gets the ToHex drawing color.
Declaration
public string ToHex()
Returns
| Type | Description |
|---|---|
| string | The resulting value. |
ToHex(Color)
Gets the ToHex drawing color.
Declaration
public static string ToHex(Color color)
Parameters
| Type | Name | Description |
|---|---|---|
| Color | color | The color used by the operation. |
Returns
| Type | Description |
|---|---|
| string | The resulting value. |
ToHexWithAlpha(Color)
Gets the ToHexWithAlpha drawing color.
Declaration
public static string ToHexWithAlpha(Color color)
Parameters
| Type | Name | Description |
|---|---|---|
| Color | color | The color used by the operation. |
Returns
| Type | Description |
|---|---|
| string | The resulting value. |
ToHslColor()
Gets the ToHslColor drawing color.
Declaration
public Hsl ToHslColor()
Returns
| Type | Description |
|---|---|
| Hsl | The resulting value. |
ToHslColor(ARgb)
Gets the ToHslColor drawing color.
Declaration
public static Hsl ToHslColor(ARgb rgb)
Parameters
| Type | Name | Description |
|---|---|---|
| ARgb | rgb | The rgb used by the operation. |
Returns
| Type | Description |
|---|---|
| Hsl | The resulting value. |
Transform(ColorTransform)
Gets the Transform drawing color.
Declaration
public DrawingColor Transform(ColorTransform transform)
Parameters
| Type | Name | Description |
|---|---|---|
| ColorTransform | transform | The transform used by the operation. |
Returns
| Type | Description |
|---|---|
| DrawingColor | The resulting value. |