| Package | Description |
|---|---|
| com.itextpdf.kernel.colors.gradients | |
| com.itextpdf.kernel.geom | |
| com.itextpdf.kernel.pdf.canvas |
| Modifier and Type | Method and Description |
|---|---|
AffineTransform |
LinearGradientBuilder.getCurrentSpaceToGradientVectorSpaceTransformation(Rectangle targetBoundingBox,
AffineTransform contextTransform) |
protected AffineTransform |
AbstractLinearGradientBuilder.getCurrentSpaceToGradientVectorSpaceTransformation(Rectangle targetBoundingBox,
AffineTransform contextTransform)
Returns the current space to gradient vector space transformations that should be applied
to the shading color.
|
| Modifier and Type | Method and Description |
|---|---|
Color |
AbstractLinearGradientBuilder.buildColor(Rectangle targetBoundingBox,
AffineTransform contextTransform,
PdfDocument document)
Builds the
Color object representing the linear gradient with specified configuration
that fills the target bounding box. |
AffineTransform |
LinearGradientBuilder.getCurrentSpaceToGradientVectorSpaceTransformation(Rectangle targetBoundingBox,
AffineTransform contextTransform) |
protected AffineTransform |
AbstractLinearGradientBuilder.getCurrentSpaceToGradientVectorSpaceTransformation(Rectangle targetBoundingBox,
AffineTransform contextTransform)
Returns the current space to gradient vector space transformations that should be applied
to the shading color.
|
Point[] |
LinearGradientBuilder.getGradientVector(Rectangle targetBoundingBox,
AffineTransform contextTransform) |
protected Point[] |
StrategyBasedLinearGradientBuilder.getGradientVector(Rectangle targetBoundingBox,
AffineTransform contextTransform) |
protected abstract Point[] |
AbstractLinearGradientBuilder.getGradientVector(Rectangle targetBoundingBox,
AffineTransform contextTransform)
Returns the base gradient vector in gradient vector space.
|
LinearGradientBuilder |
LinearGradientBuilder.setCurrentSpaceToGradientVectorSpaceTransformation(AffineTransform transformation)
Set the linear gradient space transformation which specifies the transformation from
the current coordinates space to gradient vector space
|
| Modifier and Type | Method and Description |
|---|---|
AffineTransform |
AffineTransform.clone()
Creates a "deep copy" of this AffineTransform, meaning the object returned by this method will be independent
of the object being cloned.
|
AffineTransform |
AffineTransform.createInverse()
Creates a new
AffineTransform object that is invert of this AffineTransform object. |
static AffineTransform |
AffineTransform.getRotateInstance(double angle)
Get an affine transformation representing a counter-clockwise rotation over the passed angle
|
static AffineTransform |
AffineTransform.getRotateInstance(double angle,
double x,
double y)
Get an affine transformation representing a counter-clockwise rotation over the passed angle,
using the passed point as the center of rotation
|
static AffineTransform |
AffineTransform.getScaleInstance(double scx,
double scY)
Get a new
AffineTransform instance representing a scale over the passed values |
static AffineTransform |
AffineTransform.getShearInstance(double shx,
double shy)
Get a new
AffineTransform instance representing a shear over the passed values |
static AffineTransform |
AffineTransform.getTranslateInstance(double mx,
double my)
Get a new
AffineTransform instance representing a translation over the passed values |
| Modifier and Type | Method and Description |
|---|---|
void |
AffineTransform.concatenate(AffineTransform t)
Multiply matrix of two AffineTransform objects
|
void |
AffineTransform.preConcatenate(AffineTransform t)
Multiply matrix of two AffineTransform objects
|
void |
AffineTransform.setTransform(AffineTransform t)
Sets the values of this
AffineTransform instance to the values provided. |
| Constructor and Description |
|---|
AffineTransform(AffineTransform t)
Will create a new
AffineTransform instance with the values provided from the original
AffineTransform instance. |
| Modifier and Type | Method and Description |
|---|---|
PdfCanvas |
PdfCanvas.concatMatrix(AffineTransform transform)
Concatenates the affine transformation matrix to the current matrix
in the content stream managed by this Canvas.
|
PdfCanvas |
PdfCanvas.setTextMatrix(AffineTransform transform)
Replaces the text matrix.
|
Copyright © 1998–2024 Apryse Group NV. All rights reserved.