Color Structure

The color of the pixel.

Namespace:  Aspose.CAD
Assembly:  Aspose.CAD (in Aspose.CAD.dll) Version: 20.8
Syntax
[SerializableAttribute]
public struct Color

The Color type exposes the following members.

Properties
  NameDescription
Public propertyA
Gets the alpha component value of this Color structure.
Public propertyStatic memberAliceBlue
Gets a system-defined color.
Public propertyStatic memberAntiqueWhite
Gets a system-defined color.
Public propertyStatic memberAqua
Gets a system-defined color.
Public propertyStatic memberAquamarine
Gets a system-defined color.
Public propertyStatic memberAzure
Gets a system-defined color.
Public propertyB
Gets the blue component value of this Color structure.
Public propertyStatic memberBeige
Gets a system-defined color.
Public propertyStatic memberBisque
Gets a system-defined color.
Public propertyStatic memberBlack
Gets a system-defined color.
Public propertyStatic memberBlanchedAlmond
Gets a system-defined color.
Public propertyStatic memberBlue
Gets a system-defined color.
Public propertyStatic memberBlueViolet
Gets a system-defined color.
Public propertyStatic memberBrown
Gets a system-defined color.
Public propertyStatic memberBurlyWood
Gets a system-defined color.
Public propertyStatic memberCadetBlue
Gets a system-defined color.
Public propertyStatic memberChartreuse
Gets a system-defined color.
Public propertyStatic memberChocolate
Gets a system-defined color.
Public propertyStatic memberCoral
Gets a system-defined color.
Public propertyStatic memberCornflowerBlue
Gets a system-defined color.
Public propertyStatic memberCornsilk
Gets a system-defined color.
Public propertyStatic memberCrimson
Gets a system-defined color.
Public propertyStatic memberCyan
Gets a system-defined color.
Public propertyStatic memberDarkBlue
Gets a system-defined color.
Public propertyStatic memberDarkCyan
Gets a system-defined color.
Public propertyStatic memberDarkGoldenrod
Gets a system-defined color.
Public propertyStatic memberDarkGray
Gets a system-defined color.
Public propertyStatic memberDarkGreen
Gets a system-defined color.
Public propertyStatic memberDarkKhaki
Gets a system-defined color.
Public propertyStatic memberDarkMagenta
Gets a system-defined color.
Public propertyStatic memberDarkOliveGreen
Gets a system-defined color.
Public propertyStatic memberDarkOrange
Gets a system-defined color.
Public propertyStatic memberDarkOrchid
Gets a system-defined color.
Public propertyStatic memberDarkRed
Gets a system-defined color.
Public propertyStatic memberDarkSalmon
Gets a system-defined color.
Public propertyStatic memberDarkSeaGreen
Gets a system-defined color.
Public propertyStatic memberDarkSlateBlue
Gets a system-defined color.
Public propertyStatic memberDarkSlateGray
Gets a system-defined color.
Public propertyStatic memberDarkTurquoise
Gets a system-defined color.
Public propertyStatic memberDarkViolet
Gets a system-defined color.
Public propertyStatic memberDeepPink
Gets a system-defined color.
Public propertyStatic memberDeepSkyBlue
Gets a system-defined color.
Public propertyStatic memberDimGray
Gets a system-defined color.
Public propertyStatic memberDodgerBlue
Gets a system-defined color.
Public propertyStatic memberEmpty
Gets an empty Color.
Public propertyStatic memberFirebrick
Gets a system-defined color.
Public propertyStatic memberFloralWhite
Gets a system-defined color.
Public propertyStatic memberForestGreen
Gets a system-defined color.
Public propertyStatic memberFuchsia
Gets a system-defined color.
Public propertyG
Gets the green component value of this Color structure.
Public propertyStatic memberGainsboro
Gets a system-defined color.
Public propertyStatic memberGhostWhite
Gets a system-defined color.
Public propertyStatic memberGold
Gets a system-defined color.
Public propertyStatic memberGoldenrod
Gets a system-defined color.
Public propertyStatic memberGray
Gets a system-defined color.
Public propertyStatic memberGreen
Gets a system-defined color.
Public propertyStatic memberGreenYellow
Gets a system-defined color.
Public propertyStatic memberHoneydew
Gets a system-defined color.
Public propertyStatic memberHotPink
Gets a system-defined color.
Public propertyStatic memberIndianRed
Gets a system-defined color.
Public propertyStatic memberIndigo
Gets a system-defined color.
Public propertyIsEmpty
Gets a value indicating whether this Color structure is uninitialized.
Public propertyIsKnownColor
Gets a value indicating whether this Color structure is a predefined color. Predefined colors are represented by the elements of the KnownColor enumeration.
Public propertyIsNamedColor
Gets a value indicating whether this Color structure is a named color or a member of the KnownColor enumeration.
Public propertyStatic memberIvory
Gets a system-defined color.
Public propertyStatic memberKhaki
Gets a system-defined color.
Public propertyStatic memberLavender
Gets a system-defined color.
Public propertyStatic memberLavenderBlush
Gets a system-defined color.
Public propertyStatic memberLawnGreen
Gets a system-defined color.
Public propertyStatic memberLemonChiffon
Gets a system-defined color.
Public propertyStatic memberLightBlue
Gets a system-defined color.
Public propertyStatic memberLightCoral
Gets a system-defined color.
Public propertyStatic memberLightCyan
Gets a system-defined color.
Public propertyStatic memberLightGoldenrodYellow
Gets a system-defined color.
Public propertyStatic memberLightGray
Gets a system-defined color.
Public propertyStatic memberLightGreen
Gets a system-defined color.
Public propertyStatic memberLightPink
Gets a system-defined color.
Public propertyStatic memberLightSalmon
Gets a system-defined color.
Public propertyStatic memberLightSeaGreen
Gets a system-defined color.
Public propertyStatic memberLightSkyBlue
Gets a system-defined color.
Public propertyStatic memberLightSlateGray
Gets a system-defined color.
Public propertyStatic memberLightSteelBlue
Gets a system-defined color.
Public propertyStatic memberLightYellow
Gets a system-defined color.
Public propertyStatic memberLime
Gets a system-defined color.
Public propertyStatic memberLimeGreen
Gets a system-defined color.
Public propertyStatic memberLinen
Gets a system-defined color.
Public propertyStatic memberMagenta
Gets a system-defined color.
Public propertyStatic memberMaroon
Gets a system-defined color.
Public propertyStatic memberMediumAquamarine
Gets a system-defined color.
Public propertyStatic memberMediumBlue
Gets a system-defined color.
Public propertyStatic memberMediumOrchid
Gets a system-defined color.
Public propertyStatic memberMediumPurple
Gets a system-defined color.
Public propertyStatic memberMediumSeaGreen
Gets a system-defined color.
Public propertyStatic memberMediumSlateBlue
Gets a system-defined color.
Public propertyStatic memberMediumSpringGreen
Gets a system-defined color.
Public propertyStatic memberMediumTurquoise
Gets a system-defined color.
Public propertyStatic memberMediumVioletRed
Gets a system-defined color.
Public propertyStatic memberMidnightBlue
Gets a system-defined color.
Public propertyStatic memberMintCream
Gets a system-defined color.
Public propertyStatic memberMistyRose
Gets a system-defined color.
Public propertyStatic memberMoccasin
Gets a system-defined color.
Public propertyName
Gets the name of this Color.
Public propertyStatic memberNavajoWhite
Gets a system-defined color.
Public propertyStatic memberNavy
Gets a system-defined color.
Public propertyStatic memberOldLace
Gets a system-defined color.
Public propertyStatic memberOlive
Gets a system-defined color.
Public propertyStatic memberOliveDrab
Gets a system-defined color.
Public propertyStatic memberOrange
Gets a system-defined color.
Public propertyStatic memberOrangeRed
Gets a system-defined color.
Public propertyStatic memberOrchid
Gets a system-defined color.
Public propertyStatic memberPaleGoldenrod
Gets a system-defined color.
Public propertyStatic memberPaleGreen
Gets a system-defined color.
Public propertyStatic memberPaleTurquoise
Gets a system-defined color.
Public propertyStatic memberPaleVioletRed
Gets a system-defined color.
Public propertyStatic memberPapayaWhip
Gets a system-defined color.
Public propertyStatic memberPeachPuff
Gets a system-defined color.
Public propertyStatic memberPeru
Gets a system-defined color.
Public propertyStatic memberPink
Gets a system-defined color.
Public propertyStatic memberPlum
Gets a system-defined color.
Public propertyStatic memberPowderBlue
Gets a system-defined color.
Public propertyStatic memberPurple
Gets a system-defined color.
Public propertyR
Gets the red component value of this Color structure.
Public propertyStatic memberRed
Gets a system-defined color.
Public propertyStatic memberRosyBrown
Gets a system-defined color.
Public propertyStatic memberRoyalBlue
Gets a system-defined color.
Public propertyStatic memberSaddleBrown
Gets a system-defined color.
Public propertyStatic memberSalmon
Gets a system-defined color.
Public propertyStatic memberSandyBrown
Gets a system-defined color.
Public propertyStatic memberSeaGreen
Gets a system-defined color.
Public propertyStatic memberSeaShell
Gets a system-defined color.
Public propertyStatic memberSienna
Gets a system-defined color.
Public propertyStatic memberSilver
Gets a system-defined color.
Public propertyStatic memberSkyBlue
Gets a system-defined color.
Public propertyStatic memberSlateBlue
Gets a system-defined color.
Public propertyStatic memberSlateGray
Gets a system-defined color.
Public propertyStatic memberSnow
Gets a system-defined color.
Public propertyStatic memberSpringGreen
Gets a system-defined color.
Public propertyStatic memberSteelBlue
Gets a system-defined color.
Public propertyStatic memberTan
Gets a system-defined color.
Public propertyStatic memberTeal
Gets a system-defined color.
Public propertyStatic memberThistle
Gets a system-defined color.
Public propertyStatic memberTomato
Gets a system-defined color.
Public propertyStatic memberTransparent
Gets a system-defined color.
Public propertyStatic memberTurquoise
Gets a system-defined color.
Public propertyStatic memberViolet
Gets a system-defined color.
Public propertyStatic memberWheat
Gets a system-defined color.
Public propertyStatic memberWhite
Gets a system-defined color.
Public propertyStatic memberWhiteSmoke
Gets a system-defined color.
Public propertyStatic memberYellow
Gets a system-defined color.
Public propertyStatic memberYellowGreen
Gets a system-defined color.
Methods
  NameDescription
Public methodEquals
Tests whether the specified object is a Color structure and is equivalent to this Color structure.
(Overrides ValueTypeEquals(Object).)
Public methodStatic memberFromArgb(Int32)
Creates a Color structure from a 32-bit ARGB value.
Public methodStatic memberFromArgb(Int32, 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.
Public methodStatic memberFromArgb(Int32, Int32, Int32)
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.
Public methodStatic memberFromArgb(Int32, Int32, Int32, Int32)
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.
Public methodStatic memberFromKnownColor
Creates a Color structure from the specified predefined color.
Public methodStatic memberFromName
Creates a Color structure from the specified name of a predefined color.
Public methodGetBrightness
Gets the hue-saturation-brightness (HSB) brightness value for this Color structure.
Public methodGetHashCode
Returns a hash code for this Color structure.
(Overrides ValueTypeGetHashCode.)
Public methodGetHue
Gets the hue-saturation-brightness (HSB) hue value, in degrees, for this Color structure.
Public methodGetSaturation
Gets the hue-saturation-brightness (HSB) saturation value for this Color structure.
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodStatic memberMakeArgb
Makes the ARGB value.
Public methodToArgb
Gets the 32-bit ARGB value of this Color structure.
Public methodStatic memberToCmyk(Color) Obsolete.
The conversion from Color to CMYKColor. This method is deprecated. Please use more effective ToCmyk(Color).
Public methodStatic memberToCmyk(Color) Obsolete.
Public methodStatic memberToCmykIcc(Color) Obsolete.
The conversion from Color to CMYKColor using icc conversion with default profiles. This method is deprecated. Please use more effective ToCmykIcc(Color).
Public methodStatic memberToCmykIcc(Color) Obsolete.
The conversion from Color to CMYKColor using icc conversion with default profiles. This method is deprecated. Please use more effective ToCmykIcc(Color).
Public methodStatic memberToCmykIcc(Color, Stream, Stream) Obsolete.
The conversion from Color to CMYKColor using icc conversion with default profiles. This method is deprecated. Please use more effective ToCmykIcc(Color, Stream, Stream).
Public methodStatic memberToCmykIcc(Color, Stream, Stream) Obsolete.
The conversion from Color to CMYKColor using icc conversion. This method is deprecated. Please use more effective ToCmykIcc(Color, Stream, Stream).
Public methodToKnownColor
Gets the KnownColor value of this Color structure.
Public methodToString
Converts this Color structure to a human-readable string.
(Overrides ValueTypeToString.)
Operators
  NameDescription
Public operatorStatic memberEquality
Tests whether two specified Color structures are equivalent.
Public operatorStatic memberInequality
Tests whether two specified Color structures are different.
See Also