|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |
java.lang.objectcom.spire.pdf.graphics.pdfrgbcolor
public final class pdfrgbcolor
implements structures and routines working with color.
constructor summary | |
---|---|
pdfrgbcolor()
|
|
pdfrgbcolor(byte red,
byte green,
byte blue)
initializes a new instance of the class. |
|
pdfrgbcolor(byte a,
byte red,
byte green,
byte blue)
|
|
pdfrgbcolor(java.awt.color color)
initializes a new instance of the class. |
|
pdfrgbcolor(float gray)
initializes a new instance of the class. |
|
pdfrgbcolor(float red,
float green,
float blue)
|
|
pdfrgbcolor(float cyan,
float magenta,
float yellow,
float black)
initializes a new instance of the class. |
|
pdfrgbcolor(pdfrgbcolor color)
initializes a new instance of the class. |
method summary | |
---|---|
byte |
getb()
gets blue channel value. |
float |
getblue()
gets the blue. |
float |
getc()
gets cyan channel value. |
static pdfrgbcolor |
getempty()
gets a null color. |
byte |
getg()
gets green channel value. |
float |
getgray()
gets gray channel value. |
float |
getgreen()
gets the green. |
float |
getk()
gets black channel value. |
float |
getm()
gets magenta channel value. |
byte |
getr()
gets red channel value. |
float |
getred()
gets the red. |
float |
gety()
gets yellow channel value. |
void |
setb(byte value)
sets blue channel value. |
void |
setc(float value)
sets cyan channel value. |
void |
setg(byte value)
sets green channel value. |
void |
setgray(float value)
sets gray channel value. |
void |
setk(float value)
sets black channel value. |
void |
setm(float value)
sets magenta channel value. |
void |
setr(byte value)
sets red channel value. |
void |
sety(float value)
sets yellow channel value. |
constructor detail |
---|
public pdfrgbcolor()
public pdfrgbcolor(pdfrgbcolor color)
color
- source color object.
public pdfrgbcolor(java.awt.color color)
color
- source color object.
public pdfrgbcolor(float gray)
gray
- gray value.
public pdfrgbcolor(byte red, byte green, byte blue)
red
- red channel value.green
- green channel value.blue
- blue channel value.
public pdfrgbcolor(float red, float green, float blue)
public pdfrgbcolor(float cyan, float magenta, float yellow, float black)
cyan
- cyan channel value.magenta
- magenta channel value.yellow
- yellow channel value.black
- black channel value.
public pdfrgbcolor(byte a, byte red, byte green, byte blue)
method detail |
---|
public static pdfrgbcolor getempty()
public byte getb()
public void setb(byte value)
public float getblue()
public float getc()
public void setc(float value)
public byte getg()
public void setg(byte value)
public float getgreen()
public float getgray()
public void setgray(float value)
public float getk()
public void setk(float value)
public float getm()
public void setm(float value)
public byte getr()
public void setr(byte value)
public float getred()
public float gety()
public void sety(float value)
|
|||||||||
prev class next class | frames no frames | ||||||||
summary: nested | field | constr | method | detail: field | constr | method |