[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.Windows.PaletteColor

PaletteColor Struct

Represents a color in 32bppBGRA format.

Namespace: GrapeCity.Documents.Imaging.Windows
Assembly: DS.Documents.Imaging.Windows.dll
Syntax
public struct PaletteColor : IEquatable<PaletteColor>, IFormattable
Public Structure PaletteColor
    Implements IEquatable(Of PaletteColor), IFormattable

Constructors

Name Description
PaletteColor(ColorF)

Initializes a new instance of the PaletteColor struct.

PaletteColor(Color)

Initializes a new instance of the PaletteColor struct.

PaletteColor(int, int, int, int)

Initializes a new instance of the PaletteColor struct.

PaletteColor(uint)

Initializes a new instance of the PaletteColor struct.

Fields

Name Description
AliceBlue

AliceBlue color.

AntiqueWhite

AntiqueWhite color.

Aqua

Aqua color.

Aquamarine

Aquamarine color.

Azure

Azure color.

Beige

Beige color.

Bisque

Bisque color.

Black

Black color.

BlanchedAlmond

BlanchedAlmond color.

Blue

Blue color.

BlueViolet

BlueViolet color.

Brown

Brown color.

BurlyWood

BurlyWood color.

CadetBlue

CadetBlue color.

Chartreuse

Chartreuse color.

Chocolate

Chocolate color.

Coral

Coral color.

CornflowerBlue

CornflowerBlue color.

Cornsilk

Cornsilk color.

Crimson

Crimson color.

Cyan

Cyan color.

DarkBlue

DarkBlue color.

DarkCyan

DarkCyan color.

DarkGoldenrod

DarkGoldenrod color.

DarkGray

DarkGray color.

DarkGreen

DarkGreen color.

DarkKhaki

DarkKhaki color.

DarkMagenta

DarkMagenta color.

DarkOliveGreen

DarkOliveGreen color.

DarkOrange

DarkOrange color.

DarkOrchid

DarkOrchid color.

DarkRed

DarkRed color.

DarkSalmon

DarkSalmon color.

DarkSeaGreen

DarkSeaGreen color.

DarkSlateBlue

DarkSlateBlue color.

DarkSlateGray

DarkSlateGray color.

DarkTurquoise

DarkTurquoise color.

DarkViolet

DarkViolet color.

DeepPink

DeepPink color.

DeepSkyBlue

DeepSkyBlue color.

DimGray

DimGray color.

DodgerBlue

DodgerBlue color.

Empty

Empty color.

Firebrick

Firebrick color.

FloralWhite

FloralWhite color.

ForestGreen

ForestGreen color.

Fuchsia

Fuchsia color.

Gainsboro

Gainsboro color.

GhostWhite

GhostWhite color.

Gold

Gold color.

Goldenrod

Goldenrod color.

Gray

Gray color.

Green

Green color.

GreenYellow

GreenYellow color.

Honeydew

Honeydew color.

HotPink

HotPink color.

IndianRed

IndianRed color.

Indigo

Indigo color.

Ivory

Ivory color.

Khaki

Khaki color.

Lavender

Lavender color.

LavenderBlush

LavenderBlush color.

LawnGreen

LawnGreen color.

LemonChiffon

LemonChiffon color.

LightBlue

LightBlue color.

LightCoral

LightCoral color.

LightCyan

LightCyan color.

LightGoldenrodYellow

LightGoldenrodYellow color.

LightGray

LightGray color.

LightGreen

LightGreen color.

LightPink

LightPink color.

LightSalmon

LightSalmon color.

LightSeaGreen

LightSeaGreen color.

LightSkyBlue

LightSkyBlue color.

LightSlateGray

LightSlateGray color.

LightSteelBlue

LightSteelBlue color.

LightYellow

LightYellow color.

Lime

Lime color.

LimeGreen

LimeGreen color.

Linen

Linen color.

Magenta

Magenta color.

Maroon

Maroon color.

MediumAquamarine

MediumAquamarine color.

MediumBlue

MediumBlue color.

MediumOrchid

MediumOrchid color.

MediumPurple

MediumPurple color.

MediumSeaGreen

MediumSeaGreen color.

MediumSlateBlue

MediumSlateBlue color.

MediumSpringGreen

MediumSpringGreen color.

MediumTurquoise

MediumTurquoise color.

MediumVioletRed

MediumVioletRed color.

MidnightBlue

MidnightBlue color.

MintCream

MintCream color.

MistyRose

MistyRose color.

Moccasin

Moccasin color.

NavajoWhite

NavajoWhite color.

Navy

Navy color.

OldLace

OldLace color.

Olive

Olive color.

OliveDrab

OliveDrab color.

Orange

Orange color.

OrangeRed

OrangeRed color.

Orchid

Orchid color.

PaleGoldenrod

PaleGoldenrod color.

PaleGreen

PaleGreen color.

PaleTurquoise

PaleTurquoise color.

PaleVioletRed

PaleVioletRed color.

PapayaWhip

PapayaWhip color.

PeachPuff

PeachPuff color.

Peru

Peru color.

Pink

Pink color.

Plum

Plum color.

PowderBlue

PowderBlue color.

Purple

Purple color.

Red

Red color.

RosyBrown

RosyBrown color.

RoyalBlue

RoyalBlue color.

SaddleBrown

SaddleBrown color.

Salmon

Salmon color.

SandyBrown

SandyBrown color.

SeaGreen

SeaGreen color.

SeaShell

SeaShell color.

Sienna

Sienna color.

Silver

Silver color.

SkyBlue

SkyBlue color.

SlateBlue

SlateBlue color.

SlateGray

SlateGray color.

Snow

Snow color.

SpringGreen

SpringGreen color.

SteelBlue

SteelBlue color.

Tan

Tan color.

Teal

Teal color.

Thistle

Thistle color.

Tomato

Tomato color.

Transparent

Transparent color.

Turquoise

Turquoise color.

Value

The packed color value.

Violet

Violet color.

Wheat

Wheat color.

White

White color.

WhiteSmoke

WhiteSmoke color.

Yellow

Yellow color.

YellowGreen

YellowGreen color.

Properties

Name Description
A

The alpha component of the color.

B

The blue component of the color.

G

The green component of the color.

IsEmpty

Gets whether this ColorF structure is uninitialized.

IsTransparent

Gets a value indicating if we can skip drawing with this color.

R

The red component of the color.

Methods

Name Description
Equals(PaletteColor)

Determines whether the specified PaletteColor is equal to this instance.

Equals(object)

Determines whether the specified object is equal to this instance.

GetHashCode()

Returns a hash code for this instance.

ToColor()

Converts the color into a System.Drawing.Color.

ToColorF()

Converts the color into a C1.Util.DX.ColorF.

ToString()

Returns a string that represents the current object.

ToString(IFormatProvider)

Returns a string that represents this instance.

ToString(string)

Returns a string that represents this instance.

ToString(string, IFormatProvider)

Returns a string that represents this instance.

Operators

Name Description
operator ==(PaletteColor, PaletteColor)

Determines if the specified values are equal.

explicit operator PaletteColor(ColorF)

Performs an explicit conversion from GrapeCity.Documents.DX.ColorF to PaletteColor.

explicit operator ColorF(PaletteColor)

Performs an explicit conversion from PaletteColor to C1.Util.DX.ColorF.

explicit operator Color(PaletteColor)

Performs an explicit conversion from PaletteColor to Color.

explicit operator PaletteColor(Color)

Performs an explicit conversion from Color to PaletteColor.

operator !=(PaletteColor, PaletteColor)

Determines if the specified values are not equal.