Uses of Class
com.itextpdf.kernel.geom.AffineTransform
Package
Description
-
Uses of AffineTransform in com.itextpdf.kernel.colors.gradients
Modifier and TypeMethodDescriptionprotected AffineTransform
AbstractLinearGradientBuilder.getCurrentSpaceToGradientVectorSpaceTransformation
(Rectangle targetBoundingBox, AffineTransform contextTransform) Returns the current space to gradient vector space transformations that should be applied to the shading color.LinearGradientBuilder.getCurrentSpaceToGradientVectorSpaceTransformation
(Rectangle targetBoundingBox, AffineTransform contextTransform) Modifier and TypeMethodDescriptionAbstractLinearGradientBuilder.buildColor
(Rectangle targetBoundingBox, AffineTransform contextTransform, PdfDocument document) Builds theColor
object representing the linear gradient with specified configuration that fills the target bounding box.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.LinearGradientBuilder.getCurrentSpaceToGradientVectorSpaceTransformation
(Rectangle targetBoundingBox, AffineTransform contextTransform) protected abstract Point[]
AbstractLinearGradientBuilder.getGradientVector
(Rectangle targetBoundingBox, AffineTransform contextTransform) Returns the base gradient vector in gradient vector space.Point[]
LinearGradientBuilder.getGradientVector
(Rectangle targetBoundingBox, AffineTransform contextTransform) protected Point[]
StrategyBasedLinearGradientBuilder.getGradientVector
(Rectangle targetBoundingBox, AffineTransform contextTransform) LinearGradientBuilder.setCurrentSpaceToGradientVectorSpaceTransformation
(AffineTransform transformation) Set the linear gradient space transformation which specifies the transformation from the current coordinates space to gradient vector space -
Uses of AffineTransform in com.itextpdf.kernel.geom
Modifier and TypeMethodDescriptionAffineTransform.clone()
Creates a "deep copy" of this AffineTransform, meaning the object returned by this method will be independent of the object being cloned.AffineTransform.createInverse()
Creates a newAffineTransform
object that is invert of thisAffineTransform
object.static AffineTransform
AffineTransform.getRotateInstance
(double angle) Get an affine transformation representing a counter-clockwise rotation over the passed anglestatic 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 rotationstatic AffineTransform
AffineTransform.getScaleInstance
(double scx, double scY) Get a newAffineTransform
instance representing a scale over the passed valuesstatic AffineTransform
AffineTransform.getShearInstance
(double shx, double shy) Get a newAffineTransform
instance representing a shear over the passed valuesstatic AffineTransform
AffineTransform.getTranslateInstance
(double mx, double my) Get a newAffineTransform
instance representing a translation over the passed valuesModifier and TypeMethodDescriptionvoid
AffineTransform.concatenate
(AffineTransform t) Multiply matrix of two AffineTransform objectsvoid
AffineTransform.preConcatenate
(AffineTransform t) Multiply matrix of two AffineTransform objectsvoid
AffineTransform.setTransform
(AffineTransform t) Sets the values of thisAffineTransform
instance to the values provided.ModifierConstructorDescriptionWill create a newAffineTransform
instance with the values provided from the originalAffineTransform
instance. -
Uses of AffineTransform in com.itextpdf.kernel.pdf.canvas
Modifier and TypeMethodDescriptionPdfCanvas.concatMatrix
(AffineTransform transform) Concatenates the affine transformation matrix to the current matrix in the content stream managed by this Canvas.PdfCanvas.setTextMatrix
(AffineTransform transform) Replaces the text matrix. -
Uses of AffineTransform in com.itextpdf.layout.properties
Modifier and TypeMethodDescriptionstatic AffineTransform
Transform.getAffineTransform
(Transform t, float width, float height) Converts theTransform
instance, i.e. -
Uses of AffineTransform in com.itextpdf.layout.renderer
Modifier and TypeMethodDescriptionprotected AffineTransform
BlockRenderer.createRotationTransformInsideOccupiedArea()
This method createsAffineTransform
instance that could be used to rotate content inside the occupied area.Modifier and TypeMethodDescriptionAbstractRenderer.transformPoints
(List<Point> points, AffineTransform transform) -
Uses of AffineTransform in com.itextpdf.svg.renderers
Modifier and TypeMethodDescriptionSvgDrawContext.getCurrentCanvasTransform()
Get the current canvas transformationSvgDrawContext.getLastTextTransform()
Get the text transformation that was last appliedSvgDrawContext.getRootTransform()
Get the current root transformation that was last applied.Modifier and TypeMethodDescriptionvoid
SvgDrawContext.setLastTextTransform
(AffineTransform newTransform) Set the last text transformationvoid
SvgDrawContext.setRootTransform
(AffineTransform newTransform) Set the current root transformation. -
Uses of AffineTransform in com.itextpdf.svg.renderers.impl
Modifier and TypeFieldDescriptionprotected static final AffineTransform
TextSvgBranchRenderer.TEXTFLIP
Top level transformation to flip the y-axis results in the character glyphs being mirrored, this tf corrects for this behaviourModifier and TypeMethodDescriptionprotected AffineTransform
AbstractGradientSvgNodeRenderer.getGradientTransform()
Evaluates the 'gradientTransform' transformations -
Uses of AffineTransform in com.itextpdf.svg.utils
Modifier and TypeMethodDescriptionstatic AffineTransform
TransformUtils.parseTransform
(String transform) Converts a string containing a transform declaration into an AffineTransform object.