public static class Trait.Background
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
Background() |
| Modifier and Type | Method and Description |
|---|---|
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 |
getImageTargetHeight() |
int |
getImageTargetWidth() |
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 |
setImageTargetHeight(int value) |
void |
setImageTargetWidth(int value) |
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.
|
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.Objectpublic void setImageTargetWidth(int value)
public int getImageTargetWidth()
public void setImageTargetHeight(int value)
public int getImageTargetHeight()
Copyright 1999-2022 The Apache Software Foundation. All Rights Reserved.