Represents a color More...
◆ ConvertCmykToRgb()
◆ ConvertRgbToCmyk()
◆ Equals()
override bool iText.Kernel.Colors.Color.Equals |
( |
Object |
o |
) |
|
|
inline |
Indicates whether the color is equal to the given color.
Indicates whether the color is equal to the given color. The color space and color value are considered during the comparison.
◆ GetColorSpace()
virtual PdfColorSpace iText.Kernel.Colors.Color.GetColorSpace |
( |
|
) |
|
|
inlinevirtual |
Returns the color space to which the color is related.
-
Returns
-
the color space of the color
◆ GetColorValue()
virtual float [] iText.Kernel.Colors.Color.GetColorValue |
( |
|
) |
|
|
inlinevirtual |
Returns the color value of the color
-
Returns
-
the color value
◆ GetHashCode()
override int iText.Kernel.Colors.Color.GetHashCode |
( |
|
) |
|
|
inline |
◆ GetNumberOfComponents()
virtual int iText.Kernel.Colors.Color.GetNumberOfComponents |
( |
|
) |
|
|
inlinevirtual |
Returns the number of color value components
-
Returns
-
the number of color value components
◆ MakeColor() [1/2]
Makes a Color of certain color space.
Makes a Color of certain color space. All color value components will be initialised with zeroes.
-
Parameters
-
colorSpace |
the color space to which the returned Color object relates |
-
Returns
-
the created Color object.
◆ MakeColor() [2/2]
Makes a Color of certain color space and color value.
Makes a Color of certain color space and color value. If color value is set in null, all value components will be initialised with zeroes.
-
Parameters
-
colorSpace |
the color space to which the returned Color object relates |
colorValue |
the color value of the returned Color object |
-
Returns
-
the created Color object.
◆ SetColorValue()
virtual void iText.Kernel.Colors.Color.SetColorValue |
( |
float[] |
value |
) |
|
|
inlinevirtual |