Package | Description |
---|---|
com.itextpdf.kernel.colors.gradients | |
com.itextpdf.layout.property | |
com.itextpdf.layout.renderer |
Modifier and Type | Class and Description |
---|---|
class |
LinearGradientBuilder
The linear gradient builder implementation with direct target gradient vector and shading transformation ( more info )
|
class |
StrategyBasedLinearGradientBuilder
The linear gradient builder with automatic coordinates vector evaluation for the target filled area based on configured strategy
|
Modifier and Type | Method and Description |
---|---|
AbstractLinearGradientBuilder |
AbstractLinearGradientBuilder.addColorStop(GradientColorStop gradientColorStop)
Adds the new color stop to the end ( more info ).
|
AbstractLinearGradientBuilder |
AbstractLinearGradientBuilder.setSpreadMethod(GradientSpreadMethod gradientSpreadMethod)
Set the spread method to use for the gradient
|
Modifier and Type | Field and Description |
---|---|
protected AbstractLinearGradientBuilder |
BackgroundImage.linearGradientBuilder |
Modifier and Type | Method and Description |
---|---|
AbstractLinearGradientBuilder |
BackgroundImage.getLinearGradientBuilder() |
Modifier and Type | Method and Description |
---|---|
BackgroundImage.Builder |
BackgroundImage.Builder.setLinearGradientBuilder(AbstractLinearGradientBuilder linearGradientBuilder)
Sets linearGradientBuilder.
|
Constructor and Description |
---|
BackgroundImage(AbstractLinearGradientBuilder linearGradientBuilder)
Deprecated.
Remove this constructor in 7.2.
|
BackgroundImage(AbstractLinearGradientBuilder linearGradientBuilder, BlendMode blendMode)
Deprecated.
Remove this constructor in 7.2.
|
Modifier and Type | Method and Description |
---|---|
static PdfFormXObject |
AbstractRenderer.createXObject(AbstractLinearGradientBuilder linearGradientBuilder, Rectangle xObjectArea, PdfDocument document)
Create a PdfFormXObject with the given area and containing a linear gradient inside.
|
Copyright © 1998–2023 iText Group NV. All rights reserved.