public abstract class OfficeImageFillFormat<TWatermarkableImage extends WatermarkableImage> extends Object
Represents the image fill format settings in any supported office content.
TWatermarkableImage
: The exact type of the watermarkable image that is used as background.
Modifier and Type | Method and Description |
---|---|
abstract TWatermarkableImage |
getBackgroundImage()
Gets the background image.
|
abstract boolean |
getTileAsTexture()
Gets a value indicating whether the image is tiled across the background.
|
abstract double |
getTransparency()
Gets the transparency of the background image as a value from 0.0 (opaque) through 1.0 (fully transparent).
|
abstract void |
setBackgroundImage(TWatermarkableImage value)
Sets the background image.
|
abstract void |
setTileAsTexture(boolean value)
Sets a value indicating whether the image is tiled across the background.
|
abstract void |
setTransparency(double value)
Sets the transparency of the background image as a value from 0.0 (opaque) through 1.0 (fully transparent).
|
public abstract boolean getTileAsTexture()
Gets a value indicating whether the image is tiled across the background.
public abstract void setTileAsTexture(boolean value)
Sets a value indicating whether the image is tiled across the background.
value
- True if the image is tiled across the background; otherwise, false (the image is stretched).public abstract double getTransparency()
Gets the transparency of the background image as a value from 0.0 (opaque) through 1.0 (fully transparent).
public abstract void setTransparency(double value)
Sets the transparency of the background image as a value from 0.0 (opaque) through 1.0 (fully transparent).
value
- The transparency of the background image as a value from 0.0 (opaque) through 1.0 (fully transparent).public abstract TWatermarkableImage getBackgroundImage()
Gets the background image.
public abstract void setBackgroundImage(TWatermarkableImage value)
Sets the background image.
value
- The background image. Returns null if the image is not set.