public class DeviceRgb extends Color
| Constructor and Description |
|---|
DeviceRgb()
Creates DeviceRgb color with all colorants intensities initialised as zeroes.
|
DeviceRgb(float r, float g, float b)
Creates DeviceRgb color by intensities of red, green and blue colorants.
|
DeviceRgb(int r, int g, int b)
Creates DeviceRgb color by intensities of red, green and blue colorants.
|
| Modifier and Type | Method and Description |
|---|---|
static DeviceRgb |
makeDarker(DeviceRgb rgbColor)
Returns DeviceRgb color which is darker than given one
|
static DeviceRgb |
makeLighter(DeviceRgb rgbColor)
Returns DeviceRgb color which is lighter than given one
|
convertCmykToRgb, convertRgbToCmyk, equals, getColorSpace, getColorValue, getNumberOfComponents, hashCode, makeColor, makeColor, setColorValuepublic DeviceRgb(int r,
int g,
int b)
r - the intensity of red colorant
g - the intensity of green colorant
b - the intensity of blue colorant
public DeviceRgb(float r,
float g,
float b)
r - the intensity of red colorant
g - the intensity of green colorant
b - the intensity of blue colorant
public DeviceRgb()
Copyright © 1998–2017 iText Group NV. All rights reserved.