|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.render.afp.AFPFontColor
AFP only supports very basic colours and this object provides a simple bean for the colour attributes.
Constructor Summary | |
AFPFontColor(float red,
float green,
float blue)
Constructor for the AFPColor Object |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Checks whether this object is equal to the parameter passed as an argument. |
float |
getBlue()
Returns the blue attribute |
float |
getGreen()
Returns the green attribute |
float |
getRed()
Returns the red attribute |
void |
setBlue(float blue)
Sets the blue attribute |
void |
setGeen(float green)
Sets the green attribute |
void |
setRed(float red)
Sets the red attribute |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AFPFontColor(float red, float green, float blue)
Method Detail |
public float getBlue()
public float getGreen()
public float getRed()
public void setBlue(float blue)
blue
- The blue value to setpublic void setGeen(float green)
green
- The green value to setpublic void setRed(float red)
red
- The red value to setpublic boolean equals(java.lang.Object obj)
obj
- the object to compare
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |