cete.dynamicpdf.rgbcolor
RgbColor
- Namespace: ceTe.DynamicPDF
- Assemblies: DynamicPDF.CoreSuite.dll
Represents an RGB color.
public class RgbColor : DeviceColor
Public Class RgbColor
Inherits DeviceColor
Inheritance: Object → Color → DeviceColor → RgbColor
Derived: WebColor
Remarks
See the Colors topic for more on RGB colors.
Constructors
RgbColor(Byte, Byte, Byte)
Initializes a new instance of the RgbColor class.
public RgbColor(byte red, byte green, byte blue)
Public Sub New (red As Byte, green As Byte, blue As Byte)
Parameters
- red: Byte
The red intensity.
- green: Byte
The green intensity.
- blue: Byte
The blue intensity.
RgbColor(Single, Single, Single)
Initializes a new instance of the RgbColor class.
public RgbColor(float red, float green, float blue)
Public Sub New (red As Single, green As Single, blue As Single)
Parameters
- red: Single
The red intensity.
- green: Single
The green intensity.
- blue: Single
The blue intensity.
Properties
AliceBlue
Gets the color alice blue.
public static RgbColor AliceBlue { get; }
Public Shared Property AliceBlue As RgbColor
Property Value
AntiqueWhite
Gets the color antique white.
public static RgbColor AntiqueWhite { get; }
Public Shared Property AntiqueWhite As RgbColor
Property Value
Aqua
Gets the color aqua.
public static RgbColor Aqua { get; }
Public Shared Property Aqua As RgbColor
Property Value
Aquamarine
Gets the color aquamarine.
public static RgbColor Aquamarine { get; }
Public Shared Property Aquamarine As RgbColor
Property Value
Azure
Gets the color azure.
public static RgbColor Azure { get; }
Public Shared Property Azure As RgbColor
Property Value
B
Gets or sets the blue value.
public float B { get; }
Public Property B As Single
Property Value
Beige
Gets the color beige.
public static RgbColor Beige { get; }
Public Shared Property Beige As RgbColor
Property Value
Bisque
Gets the color bisque.
public static RgbColor Bisque { get; }
Public Shared Property Bisque As RgbColor
Property Value
Black
Gets the color black.
public static RgbColor Black { get; }
Public Shared Property Black As RgbColor
Property Value
BlanchedAlmond
Gets the color blanched almond.
public static RgbColor BlanchedAlmond { get; }
Public Shared Property BlanchedAlmond As RgbColor
Property Value
Blue
Gets the color blue.
public static RgbColor Blue { get; }
Public Shared Property Blue As RgbColor
Property Value
BlueViolet
Gets the color blue violet.
public static RgbColor BlueViolet { get; }
Public Shared Property BlueViolet As RgbColor
Property Value
Brown
Gets the color brown.
public static RgbColor Brown { get; }
Public Shared Property Brown As RgbColor
Property Value
BurlyWood
Gets the color burly wood.
public static RgbColor BurlyWood { get; }
Public Shared Property BurlyWood As RgbColor
Property Value
CadetBlue
Gets the color cadet blue.
public static RgbColor CadetBlue { get; }
Public Shared Property CadetBlue As RgbColor
Property Value
Chartreuse
Gets the color chartreuse.
public static RgbColor Chartreuse { get; }
Public Shared Property Chartreuse As RgbColor
Property Value
Chocolate
Gets the color chocolate.
public static RgbColor Chocolate { get; }
Public Shared Property Chocolate As RgbColor
Property Value
ColorSpace
Gets the color space for the color.
public ColorSpace ColorSpace { get; }
Public Property ColorSpace As ColorSpace
Property Value
Components
Gets the number of components for the device color.
public int Components { get; }
Public Property Components As Int32
Property Value
Coral
Gets the color coral.
public static RgbColor Coral { get; }
Public Shared Property Coral As RgbColor
Property Value
CornflowerBlue
Gets the color cornflower blue.
public static RgbColor CornflowerBlue { get; }
Public Shared Property CornflowerBlue As RgbColor
Property Value
Cornsilk
Gets the color cornsilk.
public static RgbColor Cornsilk { get; }
Public Shared Property Cornsilk As RgbColor
Property Value
Crimson
Gets the color crimson.
public static RgbColor Crimson { get; }
Public Shared Property Crimson As RgbColor
Property Value
Cyan
Gets the color cyan.
public static RgbColor Cyan { get; }
Public Shared Property Cyan As RgbColor
Property Value
DarkBlue
Gets the color dark blue.
public static RgbColor DarkBlue { get; }
Public Shared Property DarkBlue As RgbColor
Property Value
DarkCyan
Gets the color dark cyan.
public static RgbColor DarkCyan { get; }
Public Shared Property DarkCyan As RgbColor
Property Value
DarkGoldenRod
Gets the color dark golden rod.
public static RgbColor DarkGoldenRod { get; }
Public Shared Property DarkGoldenRod As RgbColor
Property Value
DarkGray
Gets the color dark gray.
public static RgbColor DarkGray { get; }
Public Shared Property DarkGray As RgbColor
Property Value
DarkGreen
Gets the color dark green.
public static RgbColor DarkGreen { get; }
Public Shared Property DarkGreen As RgbColor
Property Value
DarkKhaki
Gets the color dark khaki.
public static RgbColor DarkKhaki { get; }
Public Shared Property DarkKhaki As RgbColor
Property Value
DarkMagenta
Gets the color dark magenta.
public static RgbColor DarkMagenta { get; }
Public Shared Property DarkMagenta As RgbColor
Property Value
DarkOliveGreen
Gets the color dark olive green.
public static RgbColor DarkOliveGreen { get; }
Public Shared Property DarkOliveGreen As RgbColor
Property Value
DarkOrange
Gets the color dark orange.
public static RgbColor DarkOrange { get; }
Public Shared Property DarkOrange As RgbColor
Property Value
DarkOrchid
Gets the color dark orchid.
public static RgbColor DarkOrchid { get; }
Public Shared Property DarkOrchid As RgbColor
Property Value
DarkRed
Gets the color dark red.
public static RgbColor DarkRed { get; }
Public Shared Property DarkRed As RgbColor
Property Value
DarkSalmon
Gets the color dark salmon.
public static RgbColor DarkSalmon { get; }
Public Shared Property DarkSalmon As RgbColor
Property Value
DarkSeaGreen
Gets the color dark sea green.
public static RgbColor DarkSeaGreen { get; }
Public Shared Property DarkSeaGreen As RgbColor
Property Value
DarkSlateBlue
Gets the color dark slate blue.
public static RgbColor DarkSlateBlue { get; }
Public Shared Property DarkSlateBlue As RgbColor
Property Value
DarkSlateGray
Gets the color dark slate gray.
public static RgbColor DarkSlateGray { get; }
Public Shared Property DarkSlateGray As RgbColor
Property Value
DarkTurquoise
Gets the color dark turquoise.
public static RgbColor DarkTurquoise { get; }
Public Shared Property DarkTurquoise As RgbColor
Property Value
DarkViolet
Gets the color dark violet.
public static RgbColor DarkViolet { get; }
Public Shared Property DarkViolet As RgbColor
Property Value
DeepPink
Gets the color deep pink.
public static RgbColor DeepPink { get; }
Public Shared Property DeepPink As RgbColor
Property Value
DeepSkyBlue
Gets the color deep sky blue.
public static RgbColor DeepSkyBlue { get; }
Public Shared Property DeepSkyBlue As RgbColor
Property Value
DimGray
Gets the color dim gray.
public static RgbColor DimGray { get; }
Public Shared Property DimGray As RgbColor
Property Value
DodgerBlue
Gets the color dodger blue.
public static RgbColor DodgerBlue { get; }
Public Shared Property DodgerBlue As RgbColor
Property Value
Feldspar
Gets the color feldspar.
public static RgbColor Feldspar { get; }
Public Shared Property Feldspar As RgbColor
Property Value
FireBrick
Gets the color fire brick.
public static RgbColor FireBrick { get; }
Public Shared Property FireBrick As RgbColor
Property Value
FloralWhite
Gets the color floral white.
public static RgbColor FloralWhite { get; }
Public Shared Property FloralWhite As RgbColor
Property Value
ForestGreen
Gets the color forest green.
public static RgbColor ForestGreen { get; }
Public Shared Property ForestGreen As RgbColor
Property Value
Fuchsia
Gets the color fuchsia.
public static RgbColor Fuchsia { get; }
Public Shared Property Fuchsia As RgbColor
Property Value
G
Gets or sets the green value.
public float G { get; }
Public Property G As Single
Property Value
Gainsboro
Gets the color gainsboro.
public static RgbColor Gainsboro { get; }
Public Shared Property Gainsboro As RgbColor
Property Value
GhostWhite
Gets the color ghost white.
public static RgbColor GhostWhite { get; }
Public Shared Property GhostWhite As RgbColor
Property Value
Gold
Gets the color gold.
public static RgbColor Gold { get; }
Public Shared Property Gold As RgbColor
Property Value
GoldenRod
Gets the color golden rod.
public static RgbColor GoldenRod { get; }
Public Shared Property GoldenRod As RgbColor
Property Value
Gray
Gets the color gray.
public static RgbColor Gray { get; }
Public Shared Property Gray As RgbColor
Property Value
Green
Gets the color green.
public static RgbColor Green { get; }
Public Shared Property Green As RgbColor
Property Value
GreenYellow
Gets the color green yellow.
public static RgbColor GreenYellow { get; }
Public Shared Property GreenYellow As RgbColor
Property Value
HoneyDew
Gets the color honey dew.
public static RgbColor HoneyDew { get; }
Public Shared Property HoneyDew As RgbColor
Property Value
HotPink
Gets the color hot pink.
public static RgbColor HotPink { get; }
Public Shared Property HotPink As RgbColor
Property Value
IndianRed
Gets the color indian red.
public static RgbColor IndianRed { get; }
Public Shared Property IndianRed As RgbColor
Property Value
Indigo
Gets the color indigo.
public static RgbColor Indigo { get; }
Public Shared Property Indigo As RgbColor
Property Value
Ivory
Gets the color ivory.
public static RgbColor Ivory { get; }
Public Shared Property Ivory As RgbColor
Property Value
Khaki
Gets the color khaki.
public static RgbColor Khaki { get; }
Public Shared Property Khaki As RgbColor
Property Value
Lavender
Gets the color lavender.
public static RgbColor Lavender { get; }
Public Shared Property Lavender As RgbColor
Property Value
LavenderBlush
Gets the color lavender blush.
public static RgbColor LavenderBlush { get; }
Public Shared Property LavenderBlush As RgbColor
Property Value
LawnGreen
Gets the color lawn green.
public static RgbColor LawnGreen { get; }
Public Shared Property LawnGreen As RgbColor
Property Value
LemonChiffon
Gets the color lemon chiffon.
public static RgbColor LemonChiffon { get; }
Public Shared Property LemonChiffon As RgbColor
Property Value
LightBlue
Gets the color light blue.
public static RgbColor LightBlue { get; }
Public Shared Property LightBlue As RgbColor
Property Value
LightCoral
Gets the color light coral.
public static RgbColor LightCoral { get; }
Public Shared Property LightCoral As RgbColor
Property Value
LightCyan
Gets the color light cyan.
public static RgbColor LightCyan { get; }
Public Shared Property LightCyan As RgbColor
Property Value
LightGoldenRodYellow
Gets the color light golden rod yellow.
public static RgbColor LightGoldenRodYellow { get; }
Public Shared Property LightGoldenRodYellow As RgbColor
Property Value
LightGreen
Gets the color light green.
public static RgbColor LightGreen { get; }
Public Shared Property LightGreen As RgbColor
Property Value
LightGrey
Gets the color light grey.
public static RgbColor LightGrey { get; }
Public Shared Property LightGrey As RgbColor
Property Value
LightPink
Gets the color light pink.
public static RgbColor LightPink { get; }
Public Shared Property LightPink As RgbColor
Property Value
LightSalmon
Gets the color light salmon.
public static RgbColor LightSalmon { get; }
Public Shared Property LightSalmon As RgbColor
Property Value
LightSeaGreen
Gets the color light sea green.
public static RgbColor LightSeaGreen { get; }
Public Shared Property LightSeaGreen As RgbColor
Property Value
LightSkyBlue
Gets the color light sky blue.
public static RgbColor LightSkyBlue { get; }
Public Shared Property LightSkyBlue As RgbColor
Property Value
LightSlateBlue
Gets the color light slate blue.
public static RgbColor LightSlateBlue { get; }
Public Shared Property LightSlateBlue As RgbColor
Property Value
LightSlateGray
Gets the color light slate gray.
public static RgbColor LightSlateGray { get; }
Public Shared Property LightSlateGray As RgbColor
Property Value
LightSteelBlue
Gets the color light steel blue.
public static RgbColor LightSteelBlue { get; }
Public Shared Property LightSteelBlue As RgbColor
Property Value
LightYellow
Gets the color light yellow.
public static RgbColor LightYellow { get; }
Public Shared Property LightYellow As RgbColor
Property Value
Lime
Gets the color lime.
public static RgbColor Lime { get; }
Public Shared Property Lime As RgbColor
Property Value
LimeGreen
Gets the color lime green.
public static RgbColor LimeGreen { get; }
Public Shared Property LimeGreen As RgbColor
Property Value
Linen
Gets the color linen.
public static RgbColor Linen { get; }
Public Shared Property Linen As RgbColor
Property Value
Magenta
Gets the color magenta.
public static RgbColor Magenta { get; }
Public Shared Property Magenta As RgbColor
Property Value
Maroon
Gets the color maroon.
public static RgbColor Maroon { get; }
Public Shared Property Maroon As RgbColor
Property Value
MediumAquaMarine
Gets the color medium aqua marine.
public static RgbColor MediumAquaMarine { get; }
Public Shared Property MediumAquaMarine As RgbColor
Property Value
MediumBlue
Gets the color medium blue.
public static RgbColor MediumBlue { get; }
Public Shared Property MediumBlue As RgbColor
Property Value
MediumOrchid
Gets the color medium orchid.
public static RgbColor MediumOrchid { get; }
Public Shared Property MediumOrchid As RgbColor
Property Value
MediumPurple
Gets the color medium purple.
public static RgbColor MediumPurple { get; }
Public Shared Property MediumPurple As RgbColor
Property Value
MediumSeaGreen
Gets the color medium sea green.
public static RgbColor MediumSeaGreen { get; }
Public Shared Property MediumSeaGreen As RgbColor
Property Value
MediumSlateBlue
Gets the color medium slate blue.
public static RgbColor MediumSlateBlue { get; }
Public Shared Property MediumSlateBlue As RgbColor
Property Value
MediumSpringGreen
Gets the color medium spring green.
public static RgbColor MediumSpringGreen { get; }
Public Shared Property MediumSpringGreen As RgbColor
Property Value
MediumTurquoise
Gets the color medium turquoise.
public static RgbColor MediumTurquoise { get; }
Public Shared Property MediumTurquoise As RgbColor
Property Value
MediumVioletRed
Gets the color medium violet red.
public static RgbColor MediumVioletRed { get; }
Public Shared Property MediumVioletRed As RgbColor
Property Value
MidnightBlue
Gets the color midnight blue.
public static RgbColor MidnightBlue { get; }
Public Shared Property MidnightBlue As RgbColor
Property Value
MintCream
Gets the color mint cream.
public static RgbColor MintCream { get; }
Public Shared Property MintCream As RgbColor
Property Value
MistyRose
Gets the color misty rose.
public static RgbColor MistyRose { get; }
Public Shared Property MistyRose As RgbColor
Property Value
Moccasin
Gets the color moccasin.
public static RgbColor Moccasin { get; }
Public Shared Property Moccasin As RgbColor
Property Value
NavajoWhite
Gets the color navajo white.
public static RgbColor NavajoWhite { get; }
Public Shared Property NavajoWhite As RgbColor
Property Value
Navy
Gets the color navy.
public static RgbColor Navy { get; }
Public Shared Property Navy As RgbColor
Property Value
OldLace
Gets the color old lace.
public static RgbColor OldLace { get; }
Public Shared Property OldLace As RgbColor
Property Value
Olive
Gets the color olive.
public static RgbColor Olive { get; }
Public Shared Property Olive As RgbColor
Property Value
OliveDrab
Gets the color olive drab.
public static RgbColor OliveDrab { get; }
Public Shared Property OliveDrab As RgbColor
Property Value
Orange
Gets the color orange.
public static RgbColor Orange { get; }
Public Shared Property Orange As RgbColor
Property Value
OrangeRed
Gets the color orange red.
public static RgbColor OrangeRed { get; }
Public Shared Property OrangeRed As RgbColor
Property Value
Orchid
Gets the color orchid.
public static RgbColor Orchid { get; }
Public Shared Property Orchid As RgbColor
Property Value
PaleGoldenRod
Gets the color pale golden rod.
public static RgbColor PaleGoldenRod { get; }
Public Shared Property PaleGoldenRod As RgbColor
Property Value
PaleGreen
Gets the color pale green.
public static RgbColor PaleGreen { get; }
Public Shared Property PaleGreen As RgbColor
Property Value
PaleTurquoise
Gets the color pale turquoise.
public static RgbColor PaleTurquoise { get; }
Public Shared Property PaleTurquoise As RgbColor
Property Value
PaleVioletRed
Gets the color pale violet red.
public static RgbColor PaleVioletRed { get; }
Public Shared Property PaleVioletRed As RgbColor
Property Value
PapayaWhip
Gets the color papaya whip.
public static RgbColor PapayaWhip { get; }
Public Shared Property PapayaWhip As RgbColor
Property Value
PeachPuff
Gets the color peach puff.
public static RgbColor PeachPuff { get; }
Public Shared Property PeachPuff As RgbColor
Property Value
Peru
Gets the color peru.
public static RgbColor Peru { get; }
Public Shared Property Peru As RgbColor
Property Value
Pink
Gets the color pink.
public static RgbColor Pink { get; }
Public Shared Property Pink As RgbColor
Property Value
Plum
Gets the color plum.
public static RgbColor Plum { get; }
Public Shared Property Plum As RgbColor
Property Value
PowderBlue
Gets the color powder blue.
public static RgbColor PowderBlue { get; }
Public Shared Property PowderBlue As RgbColor
Property Value
Purple
Gets the color purple.
public static RgbColor Purple { get; }
Public Shared Property Purple As RgbColor
Property Value
R
Gets or sets the red value.
public float R { get; }
Public Property R As Single
Property Value
Red
Gets the color red.
public static RgbColor Red { get; }
Public Shared Property Red As RgbColor
Property Value
RosyBrown
Gets the color rosy brown.
public static RgbColor RosyBrown { get; }
Public Shared Property RosyBrown As RgbColor
Property Value
RoyalBlue
Gets the color royal blue.
public static RgbColor RoyalBlue { get; }
Public Shared Property RoyalBlue As RgbColor
Property Value
SaddleBrown
Gets the color saddle brown.
public static RgbColor SaddleBrown { get; }
Public Shared Property SaddleBrown As RgbColor
Property Value
Salmon
Gets the color salmon.
public static RgbColor Salmon { get; }
Public Shared Property Salmon As RgbColor
Property Value
SandyBrown
Gets the color sandy brown.
public static RgbColor SandyBrown { get; }
Public Shared Property SandyBrown As RgbColor
Property Value
SeaGreen
Gets the color sea green.
public static RgbColor SeaGreen { get; }
Public Shared Property SeaGreen As RgbColor
Property Value
SeaShell
Gets the color sea shell.
public static RgbColor SeaShell { get; }
Public Shared Property SeaShell As RgbColor
Property Value
Sienna
Gets the color sienna.
public static RgbColor Sienna { get; }
Public Shared Property Sienna As RgbColor
Property Value
Silver
Gets the color silver.
public static RgbColor Silver { get; }
Public Shared Property Silver As RgbColor
Property Value
SkyBlue
Gets the color sky blue.
public static RgbColor SkyBlue { get; }
Public Shared Property SkyBlue As RgbColor
Property Value
SlateBlue
Gets the color slate blue.
public static RgbColor SlateBlue { get; }
Public Shared Property SlateBlue As RgbColor
Property Value
SlateGray
Gets the color slate gray.
public static RgbColor SlateGray { get; }
Public Shared Property SlateGray As RgbColor
Property Value
Snow
Gets the color snow.
public static RgbColor Snow { get; }
Public Shared Property Snow As RgbColor
Property Value
SpringGreen
Gets the color spring green.
public static RgbColor SpringGreen { get; }
Public Shared Property SpringGreen As RgbColor
Property Value
SteelBlue
Gets the color steel blue.
public static RgbColor SteelBlue { get; }
Public Shared Property SteelBlue As RgbColor
Property Value
Tan
Gets the color tan.
public static RgbColor Tan { get; }
Public Shared Property Tan As RgbColor
Property Value
Teal
Gets the color teal.
public static RgbColor Teal { get; }
Public Shared Property Teal As RgbColor
Property Value
Thistle
Gets the color thistle.
public static RgbColor Thistle { get; }
Public Shared Property Thistle As RgbColor
Property Value
Tomato
Gets the color tomato.
public static RgbColor Tomato { get; }
Public Shared Property Tomato As RgbColor
Property Value
Turquoise
Gets the color turquoise.
public static RgbColor Turquoise { get; }
Public Shared Property Turquoise As RgbColor
Property Value
Violet
Gets the color violet.
public static RgbColor Violet { get; }
Public Shared Property Violet As RgbColor
Property Value
VioletRed
Gets the color violet red.
public static RgbColor VioletRed { get; }
Public Shared Property VioletRed As RgbColor
Property Value
Wheat
Gets the color wheat.
public static RgbColor Wheat { get; }
Public Shared Property Wheat As RgbColor
Property Value
White
Gets the color white.
public static RgbColor White { get; }
Public Shared Property White As RgbColor
Property Value
WhiteSmoke
Gets the color white smoke.
public static RgbColor WhiteSmoke { get; }
Public Shared Property WhiteSmoke As RgbColor
Property Value
Yellow
Gets the color yellow.
public static RgbColor Yellow { get; }
Public Shared Property Yellow As RgbColor
Property Value
YellowGreen
Gets the color yellow green.
public static RgbColor YellowGreen { get; }
Public Shared Property YellowGreen As RgbColor
Property Value
Methods
DrawFill(OperatorWriter)
Draws the color data to the given PageWriter object.
public void DrawFill(OperatorWriter writer)
Sub DrawFill(writer As OperatorWriter)
Parameters
- writer: OperatorWriter
OperatorWriter object to receive the color data.
DrawFill(PageWriter)
Draws the color data to the given PageWriter object. (Inherited from DeviceColor)
public void DrawFill(PageWriter writer)
Sub DrawFill(writer As PageWriter)
Parameters
- writer: PageWriter
PageWriter object to receive the color data.
DrawStroke(OperatorWriter)
Draws the color data to the given PageWriter object.
public void DrawStroke(OperatorWriter writer)
Sub DrawStroke(writer As OperatorWriter)
Parameters
- writer: OperatorWriter
OperatorWriter object to receive the color data.
DrawStroke(PageWriter)
Draws the color data to the given PageWriter object. (Inherited from DeviceColor)
public void DrawStroke(PageWriter writer)
Sub DrawStroke(writer As PageWriter)
Parameters
- writer: PageWriter
PageWriter object to receive the color data.
Equals(Object)
Tests equality of colors.
public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean
Parameters
- obj: Object
Object to compare to the current Color .
Returns
true if the two colors are equal
GetHashCode()
Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public int GetHashCode()
Function GetHashCode() As Integer
Returns
A hash code for the current Color .
GetType()
Gets the Type of the current instance. (Inherited from Object)
public Type GetType()
Function GetType() As Type
Returns
The Type instance that represents the exact runtime type of the current instance.
ToString()
Returns a String that represents the current Object . (Inherited from Object)
public string ToString()
Function ToString() As String
Returns
A String that represents the current Object .
ToStringBuilder(StringBuilder)
Appends the color information to the given StringBuilder object.
public void ToStringBuilder(StringBuilder stringBuilder)
Sub ToStringBuilder(stringBuilder As StringBuilder)
Parameters
- stringBuilder: StringBuilder
StringBuilder to receive the color information.