org.apache.fop.area
Class Trait.Background
java.lang.Object
org.apache.fop.area.Trait.Background
- Trait
- Serializable
public static class Trait.Background
extends java.lang.Object
implements Serializable
Background trait structure.
Used for storing back trait information which are related.
Color | getColor() - Returns the background color.
|
FopImage | getFopImage() - Returns the FopImage representing the background image
|
int | getHoriz() - Returns the horizontal offset for images.
|
int | getRepeat() - Returns the image repetition behaviour for images.
|
String | getURL() - Returns the URL to the background image
|
int | getVertical() - Returns the vertical offset for images.
|
void | setColor(Color color) - Sets the color.
|
void | setFopImage(FopImage fopimage) - Sets the FopImage to use as the background image.
|
void | setHoriz(int horiz) - Sets the horizontal offset.
|
void | setRepeat(String repeat) - Sets the image repetition behaviour for images.
|
void | setRepeat(int repeat) - Sets the image repetition behaviour for images.
|
void | setURL(String url) - Sets the URL to the background image.
|
void | setVertical(int vertical) - Sets the vertical offset for images.
|
String | toString() - Return the string for debugging.
|
getColor
public Color getColor()
Returns the background color.
- background color, null if n/a
getFopImage
public FopImage getFopImage()
Returns the FopImage representing the background image
- the background image, null if n/a
getHoriz
public int getHoriz()
Returns the horizontal offset for images.
getRepeat
public int getRepeat()
Returns the image repetition behaviour for images.
- the image repetition behaviour
getURL
public String getURL()
Returns the URL to the background image
- URL to the background image, null if n/a
getVertical
public int getVertical()
Returns the vertical offset for images.
setColor
public void setColor(Color color)
Sets the color.
setFopImage
public void setFopImage(FopImage fopimage)
Sets the FopImage to use as the background image.
fopimage
- The FopImage to use
setHoriz
public void setHoriz(int horiz)
Sets the horizontal offset.
horiz
- The horizontal offset to set
setRepeat
public void setRepeat(String repeat)
Sets the image repetition behaviour for images.
repeat
- The image repetition behaviour to set
setRepeat
public void setRepeat(int repeat)
Sets the image repetition behaviour for images.
repeat
- The image repetition behaviour to set
setURL
public void setURL(String url)
Sets the URL to the background image.
setVertical
public void setVertical(int vertical)
Sets the vertical offset for images.
vertical
- The vertical offset to set
toString
public String toString()
Return the string for debugging.
java.lang.Object.toString()
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.