|
iText 9.3.0 API
|
Color space to specify colors according to RGB color model. More...
Public Member Functions |
|
| DeviceRgb (int r, int g, int b) | |
| Creates DeviceRgb color by intensities of red, green and blue colorants. More... |
|
| DeviceRgb?????? (float r, float g, float b) | |
| Creates DeviceRgb color by intensities of red, green and blue colorants. More... |
|
| DeviceRgb () | |
| Creates DeviceRgb color with all colorants intensities initialised as zeroes. More... |
|
| DeviceRgb (System.Drawing.Color color) | |
| Create DeviceRGB color from R, G, B values of System.Drawing.Color Note, that alpha chanel is ignored, but opacity still can be achieved in some places by using 'setOpacity' method or 'TransparentColor' class. More... |
|
Public Member Functions inherited from iText.Kernel.Colors.Color |
|
| virtual int | GetNumberOfComponents () |
| Returns the number of color value components More... |
|
| virtual PdfColorSpace | GetColorSpace () |
| Returns the color space to which the color is related. More... |
|
| virtual float[] | GetColorValue () |
| Returns the color value of the color More... |
|
| virtual void | SetColorValue (float[] value) |
| Sets the color value of the color More... |
|
| override int | GetHashCode () |
| override bool | Equals (Object o) |
| Indicates whether the color is equal to the given color. More... |
|
Static Public Attributes |
|
| static readonly Color | BLACK = new iText.Kernel.Colors.DeviceRgb(0, 0, 0) |
| Predefined black DeviceRgb color More... |
|
| static readonly Color | WHITE = new iText.Kernel.Colors.DeviceRgb(255, 255, 255) |
| Predefined white DeviceRgb color More... |
|
| static readonly Color | RED = new iText.Kernel.Colors.DeviceRgb(255, 0, 0) |
| Predefined red DeviceRgb color More... |
|
| static readonly Color | GREEN = new iText.Kernel.Colors.DeviceRgb(0, 255, 0) |
| Predefined green DeviceRgb color More... |
|
| static readonly Color | BLUE = new iText.Kernel.Colors.DeviceRgb(0, 0, 255) |
| Predefined blue DeviceRgb color More... |
|
Additional Inherited Members |
|
Package Functions inherited from iText.Kernel.Colors.Color |
|
| Color (PdfColorSpace colorSpace, float[] colorValue) | |
| Creates a Color of certain color space and color value. More... |
|
Package Attributes inherited from iText.Kernel.Colors.Color |
|
| PdfColorSpace | colorSpace |
| The color space of the color More... |
|
| float[] | colorValue |
| The color value of the color More... |
|
Color space to specify colors according to RGB color model.
|
inline |
Creates DeviceRgb color by intensities of red, green and blue colorants.
Creates DeviceRgb color by intensities of red, green and blue colorants. The intensities are considered to be in [0, 255] gap, if not, the intensity will be considered as 255 (when colorant's value is bigger than 255) or 0 (when colorant's value is less than 0).
| r | the intensity of red colorant |
| g | the intensity of green colorant |
| b | the intensity of blue colorant |
|
inline |
Creates DeviceRgb color with all colorants intensities initialised as zeroes.
|
inline |
Create DeviceRGB color from R, G, B values of System.Drawing.Color
Note, that alpha chanel is ignored, but opacity still can be achieved in some places by using 'setOpacity' method or 'TransparentColor' class.
| color | the color which RGB values are used |
|
inline |
Creates DeviceRgb color by intensities of red, green and blue colorants.
Creates DeviceRgb color by intensities of red, green and blue colorants. The intensities are considered to be in [0, 1] interval, if not, the intensity will be considered as 1 (when colorant's value is bigger than 1) or 0 (when colorant's value is less than 0).
| r | the intensity of red colorant |
| g | the intensity of green colorant |
| b | the intensity of blue colorant |
|
inlinestatic |
|
inlinestatic |
|
static |
Predefined black DeviceRgb color
|
static |
Predefined blue DeviceRgb color
|
static |
Predefined green DeviceRgb color
|
static |
Predefined red DeviceRgb color
|
static |
Predefined white DeviceRgb color