public class FillImage
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static int |
NO_REPEAT
Repeat constant value indicating no repetition.
|
static int |
REPEAT
Repeat constant value indicating both horizontal and vertical repetition.
|
static int |
REPEAT_HORIZONTAL
Repeat constant value indicating horizontal repetition.
|
static int |
REPEAT_VERTICAL
Repeat constant value indicating vertical repetition.
|
| Constructor and Description |
|---|
FillImage(ImageReference image)
Creates a new
FillImage with no horizontal/vertical
offset that scrolls with content and repeats both horizontally and
vertically. |
FillImage(ImageReference image,
Extent horizontalOffset,
Extent verticalOffset,
int repeat)
Creates a new
FillImage. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
Extent |
getHorizontalOffset()
Returns the horizontal offset of the fill image.
|
ImageReference |
getImage()
Returns the fill image.
|
int |
getRepeat()
Returns the repetition mode of the image.
|
Extent |
getVerticalOffset()
Returns the vertical offset of the fill image.
|
public static final int NO_REPEAT
public static final int REPEAT_HORIZONTAL
public static final int REPEAT_VERTICAL
public static final int REPEAT
public FillImage(ImageReference image)
FillImage with no horizontal/vertical
offset that scrolls with content and repeats both horizontally and
vertically.image - the ImageReference to be displayed in the
fillpublic FillImage(ImageReference image, Extent horizontalOffset, Extent verticalOffset, int repeat)
FillImage.image - the ImageReference to be displayed in the
fillhorizontalOffset - the horizontal offset of the fill image:
Positive values indicate an offset from the left side of the
region.
Negative values indicate an offset from the right side of the
region.
Both fixed and percentage units are supported.verticalOffset - the vertical offset of the fill image:
Positive values indicate an offset from the top of the region.
Negative values indicate an offset from the bottom of the region.
Both fixed and percentage units are supported.repeat - the repeat mode of the image, one of the following values:
NO_REPEATREPEAT_HORIZONTALREPEAT_VERTICALREPEAT (the default)public boolean equals(java.lang.Object o)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public Extent getHorizontalOffset()
public ImageReference getImage()
public int getRepeat()
NO_REPEATREPEAT_HORIZONTALREPEAT_VERTICALREPEAT (the default)public Extent getVerticalOffset()