public class BackgroundImage extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BackgroundImage.Builder
BackgroundImage builder class. |
| Modifier and Type | Field and Description |
|---|---|
protected PdfXObject |
image |
protected AbstractLinearGradientBuilder |
linearGradientBuilder |
| Constructor and Description |
|---|
BackgroundImage(BackgroundImage backgroundImage)
Creates a copy of passed
BackgroundImage instance. |
| Modifier and Type | Method and Description |
|---|---|
BackgroundBox |
getBackgroundClip()
Gets background-clip.
|
BackgroundBox |
getBackgroundOrigin()
Gets background-origin.
|
BackgroundPosition |
getBackgroundPosition()
Gets background-position.
|
BackgroundSize |
getBackgroundSize()
Gets the background size property.
|
BlendMode |
getBlendMode()
Get the image's blend mode.
|
PdfFormXObject |
getForm() |
PdfImageXObject |
getImage() |
float |
getImageHeight()
Gets initial image height.
|
float |
getImageWidth()
Gets initial image width.
|
AbstractLinearGradientBuilder |
getLinearGradientBuilder() |
BackgroundRepeat |
getRepeat()
Gets image
BackgroundRepeat instance. |
boolean |
isBackgroundSpecified() |
protected PdfXObject image
protected AbstractLinearGradientBuilder linearGradientBuilder
public BackgroundImage(BackgroundImage backgroundImage)
BackgroundImage instance.backgroundImage - BackgroundImage for cloningpublic PdfImageXObject getImage()
public PdfFormXObject getForm()
public BackgroundPosition getBackgroundPosition()
BackgroundPositionpublic AbstractLinearGradientBuilder getLinearGradientBuilder()
public boolean isBackgroundSpecified()
public BackgroundSize getBackgroundSize()
BackgroundSize instancepublic float getImageWidth()
public float getImageHeight()
public BackgroundRepeat getRepeat()
BackgroundRepeat instance.public BlendMode getBlendMode()
BlendMode representation of the image's blend modepublic BackgroundBox getBackgroundClip()
BackgroundBoxpublic BackgroundBox getBackgroundOrigin()
BackgroundBoxCopyright © 1998–2021 iText Group NV. All rights reserved.