|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.area.Trait.Background
public static class Trait.Background
Background trait structure. Used for storing back trait information which are related.
Constructor Summary | |
---|---|
Trait.Background()
|
Method Summary | |
---|---|
java.awt.Color |
getColor()
Returns the background color. |
int |
getHoriz()
Returns the horizontal offset for images. |
org.apache.xmlgraphics.image.loader.ImageInfo |
getImageInfo()
Returns the ImageInfo object representing the background image |
int |
getRepeat()
Returns the image repetition behaviour for images. |
java.lang.String |
getURL()
Returns the URL to the background image |
int |
getVertical()
Returns the vertical offset for images. |
void |
setColor(java.awt.Color color)
Sets the color. |
void |
setHoriz(int horiz)
Sets the horizontal offset. |
void |
setImageInfo(org.apache.xmlgraphics.image.loader.ImageInfo info)
Sets the ImageInfo of the image to use as the background image. |
void |
setRepeat(int repeat)
Sets the image repetition behaviour for images. |
void |
setRepeat(java.lang.String repeat)
Sets the image repetition behaviour for images. |
void |
setURL(java.lang.String url)
Sets the URL to the background image. |
void |
setVertical(int vertical)
Sets the vertical offset for images. |
java.lang.String |
toString()
Return the string for debugging. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Trait.Background()
Method Detail |
---|
public java.awt.Color getColor()
public int getHoriz()
public int getRepeat()
public java.lang.String getURL()
public org.apache.xmlgraphics.image.loader.ImageInfo getImageInfo()
public int getVertical()
public void setColor(java.awt.Color color)
color
- The color to setpublic void setHoriz(int horiz)
horiz
- The horizontal offset to setpublic void setRepeat(int repeat)
repeat
- The image repetition behaviour to setpublic void setRepeat(java.lang.String repeat)
repeat
- The image repetition behaviour to setpublic void setURL(java.lang.String url)
url
- The URL to setpublic void setImageInfo(org.apache.xmlgraphics.image.loader.ImageInfo info)
info
- The background image's info objectpublic void setVertical(int vertical)
vertical
- The vertical offset to setpublic java.lang.String toString()
toString
in class java.lang.Object
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |