Table of Contents

Struct Color

Namespace
Aspose.CAD
Assembly
Aspose.CAD.dll

The color of the pixel.

public struct Color
Inherited Members

Properties

A

Gets the alpha component value of this Color structure.

AliceBlue

Gets a system-defined color.

AntiqueWhite

Gets a system-defined color.

Aqua

Gets a system-defined color.

Aquamarine

Gets a system-defined color.

Azure

Gets a system-defined color.

B

Gets the blue component value of this Color structure.

Beige

Gets a system-defined color.

Bisque

Gets a system-defined color.

Black

Gets a system-defined color.

BlanchedAlmond

Gets a system-defined color.

Blue

Gets a system-defined color.

BlueViolet

Gets a system-defined color.

Brown

Gets a system-defined color.

BurlyWood

Gets a system-defined color.

CadetBlue

Gets a system-defined color.

Chartreuse

Gets a system-defined color.

Chocolate

Gets a system-defined color.

Coral

Gets a system-defined color.

CornflowerBlue

Gets a system-defined color.

Cornsilk

Gets a system-defined color.

Crimson

Gets a system-defined color.

Cyan

Gets a system-defined color.

DarkBlue

Gets a system-defined color.

DarkCyan

Gets a system-defined color.

DarkGoldenrod

Gets a system-defined color.

DarkGray

Gets a system-defined color.

DarkGreen

Gets a system-defined color.

DarkKhaki

Gets a system-defined color.

DarkMagenta

Gets a system-defined color.

DarkOliveGreen

Gets a system-defined color.

DarkOrange

Gets a system-defined color.

DarkOrchid

Gets a system-defined color.

DarkRed

Gets a system-defined color.

DarkSalmon

Gets a system-defined color.

DarkSeaGreen

Gets a system-defined color.

DarkSlateBlue

Gets a system-defined color.

DarkSlateGray

Gets a system-defined color.

DarkTurquoise

Gets a system-defined color.

DarkViolet

Gets a system-defined color.

DeepPink

Gets a system-defined color.

DeepSkyBlue

Gets a system-defined color.

DimGray

Gets a system-defined color.

DodgerBlue

Gets a system-defined color.

Empty

Gets an empty Color.

Firebrick

Gets a system-defined color.

FloralWhite

Gets a system-defined color.

ForestGreen

Gets a system-defined color.

Fuchsia

Gets a system-defined color.

G

Gets the green component value of this Color structure.

Gainsboro

Gets a system-defined color.

GhostWhite

Gets a system-defined color.

Gold

Gets a system-defined color.

Goldenrod

Gets a system-defined color.

Gray

Gets a system-defined color.

Green

Gets a system-defined color.

GreenYellow

Gets a system-defined color.

Honeydew

Gets a system-defined color.

HotPink

Gets a system-defined color.

IndianRed

Gets a system-defined color.

Indigo

Gets a system-defined color.

IsEmpty

Gets a value indicating whether this Color structure is uninitialized.

IsKnownColor

Gets a value indicating whether this Color structure is a predefined color. Predefined colors are represented by the elements of the KnownColor enumeration.

IsNamedColor

Gets a value indicating whether this Color structure is a named color or a member of the KnownColor enumeration.

Ivory

Gets a system-defined color.

Khaki

Gets a system-defined color.

Lavender

Gets a system-defined color.

LavenderBlush

Gets a system-defined color.

LawnGreen

Gets a system-defined color.

LemonChiffon

Gets a system-defined color.

LightBlue

Gets a system-defined color.

LightCoral

Gets a system-defined color.

LightCyan

Gets a system-defined color.

LightGoldenrodYellow

Gets a system-defined color.

LightGray

Gets a system-defined color.

LightGreen

Gets a system-defined color.

LightPink

Gets a system-defined color.

LightSalmon

Gets a system-defined color.

LightSeaGreen

Gets a system-defined color.

LightSkyBlue

Gets a system-defined color.

LightSlateGray

Gets a system-defined color.

LightSteelBlue

Gets a system-defined color.

LightYellow

Gets a system-defined color.

Lime

Gets a system-defined color.

LimeGreen

Gets a system-defined color.

Linen

Gets a system-defined color.

Magenta

Gets a system-defined color.

Maroon

Gets a system-defined color.

MediumAquamarine

Gets a system-defined color.

MediumBlue

Gets a system-defined color.

MediumOrchid

Gets a system-defined color.

MediumPurple

Gets a system-defined color.

MediumSeaGreen

Gets a system-defined color.

MediumSlateBlue

Gets a system-defined color.

MediumSpringGreen

Gets a system-defined color.

MediumTurquoise

Gets a system-defined color.

MediumVioletRed

Gets a system-defined color.

MidnightBlue

Gets a system-defined color.

MintCream

Gets a system-defined color.

MistyRose

Gets a system-defined color.

Moccasin

Gets a system-defined color.

Name

Gets the name of this Color.

NavajoWhite

Gets a system-defined color.

Navy

Gets a system-defined color.

OldLace

Gets a system-defined color.

Olive

Gets a system-defined color.

OliveDrab

Gets a system-defined color.

Orange

Gets a system-defined color.

OrangeRed

Gets a system-defined color.

Orchid

Gets a system-defined color.

PaleGoldenrod

Gets a system-defined color.

PaleGreen

Gets a system-defined color.

PaleTurquoise

Gets a system-defined color.

PaleVioletRed

Gets a system-defined color.

PapayaWhip

Gets a system-defined color.

PeachPuff

Gets a system-defined color.

Peru

Gets a system-defined color.

Pink

Gets a system-defined color.

Plum

Gets a system-defined color.

PowderBlue

Gets a system-defined color.

Purple

Gets a system-defined color.

R

Gets the red component value of this Color structure.

Red

Gets a system-defined color.

RosyBrown

Gets a system-defined color.

RoyalBlue

Gets a system-defined color.

SaddleBrown

Gets a system-defined color.

Salmon

Gets a system-defined color.

SandyBrown

Gets a system-defined color.

SeaGreen

Gets a system-defined color.

SeaShell

Gets a system-defined color.

Sienna

Gets a system-defined color.

Silver

Gets a system-defined color.

SkyBlue

Gets a system-defined color.

SlateBlue

Gets a system-defined color.

SlateGray

Gets a system-defined color.

Snow

Gets a system-defined color.

SpringGreen

Gets a system-defined color.

SteelBlue

Gets a system-defined color.

Tan

Gets a system-defined color.

Teal

Gets a system-defined color.

Thistle

Gets a system-defined color.

Tomato

Gets a system-defined color.

Transparent

Gets a system-defined color.

Turquoise

Gets a system-defined color.

Violet

Gets a system-defined color.

Wheat

Gets a system-defined color.

White

Gets a system-defined color.

WhiteSmoke

Gets a system-defined color.

Yellow

Gets a system-defined color.

YellowGreen

Gets a system-defined color.

Methods

Equals(object)

Tests whether the specified object is a Color structure and is equivalent to this Color structure.

FromArgb(int)

Creates a Color structure from a 32-bit ARGB value.

FromArgb(int, Color)

Creates a Color structure from the specified Color structure, but with the new specified alpha value. Although this method allows a 32-bit value to be passed for the alpha value, the value is limited to 8 bits.

FromArgb(int, int, int)

Creates a Color structure from the specified 8-bit color values (red, green, and blue). The alpha value is implicitly 255 (fully opaque). Although this method allows a 32-bit value to be passed for each color component, the value of each component is limited to 8 bits.

FromArgb(int, int, int, int)

Creates a Color structure from the four ARGB component (alpha, red, green, and blue) values. Although this method allows a 32-bit value to be passed for each component, the value of each component is limited to 8 bits.

FromKnownColor(KnownColor)

Creates a Color structure from the specified predefined color.

FromName(string)

Creates a Color structure from the specified name of a predefined color.

GetBrightness()

Gets the hue-saturation-brightness (HSB) brightness value for this Color structure.

GetHashCode()

Returns a hash code for this Color structure.

GetHue()

Gets the hue-saturation-brightness (HSB) hue value, in degrees, for this Color structure.

GetSaturation()

Gets the hue-saturation-brightness (HSB) saturation value for this Color structure.

MakeArgb(int, int, int, int)

Makes the ARGB value.

ToArgb()

Gets the 32-bit ARGB value of this Color structure.

ToCmyk(Color)

The conversion from Color to CMYKColor. This method is deprecated. Please use more effective Aspose.Imaging.CmykColorHelper.ToCmyk(Aspose.CAD.Color).

ToCmyk(Color[])

The conversion from Color to CMYKColor. This method is deprecated. Please use more effective Aspose.Imaging.CmykColorHelper.ToCmyk(Aspose.CAD.Color[]).

ToCmykIcc(Color)

The conversion from Color to CMYKColor using icc conversion with default profiles. This method is deprecated. Please use more effective Aspose.Imaging.CmykColorHelper.ToCmykIcc(Aspose.CAD.Color).

ToCmykIcc(Color, Stream, Stream)

The conversion from Color to CMYKColor using icc conversion with default profiles. This method is deprecated. Please use more effective Aspose.Imaging.CmykColorHelper.ToCmykIcc(Aspose.CAD.Color,System.IO.Stream,System.IO.Stream).

ToCmykIcc(Color[])

The conversion from Color to CMYKColor using icc conversion with default profiles. This method is deprecated. Please use more effective Aspose.Imaging.CmykColorHelper.ToCmykIcc(Aspose.CAD.Color[]).

ToCmykIcc(Color[], Stream, Stream)

The conversion from Color to CMYKColor using icc conversion. This method is deprecated. Please use more effective Aspose.Imaging.CmykColorHelper.ToCmykIcc(Aspose.CAD.Color[],System.IO.Stream,System.IO.Stream).

ToKnownColor()

Gets the KnownColor value of this Color structure.

ToString()

Converts this Color structure to a human-readable string.

Operators

operator ==(Color, Color)

Tests whether two specified Color structures are equivalent.

operator !=(Color, Color)

Tests whether two specified Color structures are different.