XColor MethodsTerminal Works - PDF Printing.Net Library

The XColor type exposes the following members.

Methods

  NameDescription
Public methodEquals
Determines whether the specified object is a Color structure and is equivalent to this Color structure.
(Overrides ValueTypeEquals(Object).)
Public methodStatic memberFromArgb(Color)
Creates an XColor structure from the specified System.Drawing.Color.
Public methodStatic memberFromArgb(Int32)
Creates an XColor structure from a 32-bit ARGB value.
Public methodStatic memberFromArgb(UInt32)
Creates an XColor structure from a 32-bit ARGB value.
Public methodStatic memberFromArgb(Int32, XColor)
Creates an XColor structure from the specified alpha value and color.
Public methodStatic memberFromArgb(Int32, Color)
Creates an XColor structure from the specified alpha value and color.
Public methodStatic memberFromArgb(Int32, Int32, Int32)
Creates an XColor structure from the specified 8-bit color values (red, green, and blue). The alpha value is implicitly 255 (fully opaque).
Public methodStatic memberFromArgb(Int32, Int32, Int32, Int32)
Creates an XColor structure from the four ARGB component (alpha, red, green, and blue) values.
Public methodStatic memberFromCmyk(Double, Double, Double, Double)
Creates an XColor structure from the specified CMYK values.
Public methodStatic memberFromCmyk(Double, Double, Double, Double, Double)
Creates an XColor structure from the specified CMYK values.
Public methodStatic memberFromGrayScale
Creates an XColor structure from the specified gray value.
Public methodStatic memberFromKnownColor(KnownColor)
Creates an XColor from the specified pre-defined color.
Public methodStatic memberFromKnownColor(XKnownColor)
Creates an XColor from the specified pre-defined color.
Public methodStatic memberFromName
Creates an XColor from the specified name of a pre-defined color.
Public methodGetBrightness
Gets the hue-saturation-brightness (HSB) brightness value for this color.
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetHue
Gets the hue-saturation-brightness (HSB) hue value, in degrees, for this color.
Public methodGetSaturation
Gets the hue-saturation-brightness (HSB) saturation value for this color.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToGdiColor
Creates a System.Drawing.Color object from this color.
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
See Also

Reference