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 cloning
public PdfImageXObject getImage()
public PdfFormXObject getForm()
public BackgroundPosition getBackgroundPosition()
BackgroundPosition
public AbstractLinearGradientBuilder getLinearGradientBuilder()
public boolean isBackgroundSpecified()
public BackgroundSize getBackgroundSize()
BackgroundSize instance
public float getImageWidth()
public float getImageHeight()
public BackgroundRepeat getRepeat()
BackgroundRepeat instance.
public BlendMode getBlendMode()
BlendMode representation of the image's blend mode
public BackgroundBox getBackgroundClip()
BackgroundBox
public BackgroundBox getBackgroundOrigin()
BackgroundBox
Copyright © 1998–2022 iText Group NV. All rights reserved.