Uses of Class
com.itextpdf.kernel.geom.AffineTransform
Packages that use AffineTransform
Package
Description
-
Uses of AffineTransform in com.itextpdf.forms
Methods in com.itextpdf.forms that return AffineTransformModifier and TypeMethodDescriptionprivate AffineTransform
PdfAcroForm.calcFieldAppTransformToAnnotRect
(PdfFormXObject xObject, Rectangle annotBBox) -
Uses of AffineTransform in com.itextpdf.kernel.colors.gradients
Fields in com.itextpdf.kernel.colors.gradients declared as AffineTransformMethods in com.itextpdf.kernel.colors.gradients that return AffineTransformModifier and TypeMethodDescriptionprivate static AffineTransform
StrategyBasedLinearGradientBuilder.buildToCornerTransform
(Point center, Point gradientCenterLineRightCorner) 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) Methods in com.itextpdf.kernel.colors.gradients with parameters of type AffineTransformModifier 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.private static Point[]
StrategyBasedLinearGradientBuilder.buildCoordinates
(Rectangle targetBoundingBox, AffineTransform transformation) 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
Methods in com.itextpdf.kernel.geom that return AffineTransformModifier 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()
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) static AffineTransform
AffineTransform.getShearInstance
(double shx, double shy) static AffineTransform
AffineTransform.getTranslateInstance
(double mx, double my) (package private) AffineTransform
AffineTransform.multiply
(AffineTransform t1, AffineTransform t2) Multiply matrix of two AffineTransform objectsMethods in com.itextpdf.kernel.geom with parameters of type AffineTransformModifier and TypeMethodDescriptionvoid
AffineTransform.concatenate
(AffineTransform t) (package private) AffineTransform
AffineTransform.multiply
(AffineTransform t1, AffineTransform t2) Multiply matrix of two AffineTransform objectsvoid
AffineTransform.preConcatenate
(AffineTransform t) void
AffineTransform.setTransform
(AffineTransform t) Constructors in com.itextpdf.kernel.geom with parameters of type AffineTransform -
Uses of AffineTransform in com.itextpdf.kernel.pdf.canvas
Methods in com.itextpdf.kernel.pdf.canvas with parameters of type AffineTransformModifier 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
Methods in com.itextpdf.layout.properties that return AffineTransformModifier and TypeMethodDescriptionstatic AffineTransform
Transform.getAffineTransform
(Transform t, float width, float height) Converts theTransform
instance, i.e. -
Uses of AffineTransform in com.itextpdf.layout.renderer
Methods in com.itextpdf.layout.renderer that return AffineTransformModifier and TypeMethodDescriptionprotected AffineTransform
BlockRenderer.createRotationTransformInsideOccupiedArea()
This method createsAffineTransform
instance that could be used to rotate content inside the occupied area.private AffineTransform
AbstractRenderer.createTransformationInsideOccupiedArea()
This method createsAffineTransform
instance that could be used to transform content inside the occupied area, considering the centre of the occupiedArea as the origin of a coordinate system for transformation.Methods in com.itextpdf.layout.renderer with parameters of type AffineTransformModifier and TypeMethodDescriptionprivate void
ImageRenderer.calculateImageDimensions
(Rectangle layoutBox, AffineTransform t, PdfXObject xObject) private void
ImageRenderer.getMatrix
(AffineTransform t, float imageItselfScaledWidth, float imageItselfScaledHeight) AbstractRenderer.transformPoints
(List<Point> points, AffineTransform transform) private void
ImageRenderer.translateImage
(float xDistance, float yDistance, AffineTransform t) -
Uses of AffineTransform in com.itextpdf.svg.renderers
Fields in com.itextpdf.svg.renderers declared as AffineTransformMethods in com.itextpdf.svg.renderers that return AffineTransformModifier and TypeMethodDescriptionSvgDrawContext.getCurrentCanvasTransform()
Get the current canvas transformationSvgDrawContext.getLastTextTransform()
Get the text transformation that was last appliedMethods in com.itextpdf.svg.renderers with parameters of type AffineTransformModifier and TypeMethodDescriptionvoid
SvgDrawContext.setLastTextTransform
(AffineTransform newTransform) Set the last text transformation -
Uses of AffineTransform in com.itextpdf.svg.renderers.impl
Fields in com.itextpdf.svg.renderers.impl declared as AffineTransformModifier 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 behaviourMethods in com.itextpdf.svg.renderers.impl that return AffineTransformModifier and TypeMethodDescription(package private) AffineTransform
PdfRootSvgNodeRenderer.calculateTransformation
(SvgDrawContext context) (package private) AffineTransform
AbstractSvgNodeRenderer.calculateViewPortTranslation
(SvgDrawContext context) Calculate the transformation for the viewport based on the context.protected AffineTransform
AbstractGradientSvgNodeRenderer.getGradientTransform()
Evaluates the 'gradientTransform' transformationsprivate AffineTransform
LinearGradientSvgNodeRenderer.getGradientTransformToUserSpaceOnUse
(Rectangle objectBoundingBox, boolean isObjectBoundingBox) private AffineTransform
PatternSvgNodeRenderer.getPatternTransform()
(package private) static AffineTransform
TextSvgBranchRenderer.getTextTransform
(float[][] absolutePositions, SvgDrawContext context) private static AffineTransform
PatternSvgNodeRenderer.getTransformToUserSpaceOnUse
(Rectangle objectBoundingBox) (package private) AffineTransform
AbstractBranchSvgNodeRenderer.processAspectRatioPosition
(SvgDrawContext context, float[] viewBoxValues, String align, float scaleWidth, float scaleHeight) If present, process the preserveAspectRatio position.Methods in com.itextpdf.svg.renderers.impl with parameters of type AffineTransformModifier and TypeMethodDescriptionprivate static PdfPattern.Tiling
PatternSvgNodeRenderer.createColoredTilingPatternInstance
(AffineTransform patternAffineTransform, Rectangle bbox, double xStep, double yStep) private static void
PatternSvgNodeRenderer.setPatternMatrix
(PdfPattern.Tiling pattern, AffineTransform affineTransform) -
Uses of AffineTransform in com.itextpdf.svg.utils
Methods in com.itextpdf.svg.utils that return AffineTransformModifier and TypeMethodDescriptionprivate static AffineTransform
TransformUtils.createMatrixTransformation
(List<String> values) Creates a matrix transformation.private static AffineTransform
TransformUtils.createRotationTransformation
(List<String> values) Creates a rotate transformation.private static AffineTransform
TransformUtils.createScaleTransformation
(List<String> values) Creates a scale transformation.private static AffineTransform
TransformUtils.createSkewXTransformation
(List<String> values) Creates a skewX transformation.private static AffineTransform
TransformUtils.createSkewYTransformation
(List<String> values) Creates a skewY transformation.private static AffineTransform
TransformUtils.createTranslateTransformation
(List<String> values) Creates a translate transformation.static AffineTransform
TransformUtils.parseTransform
(String transform) Converts a string containing a transform declaration into an AffineTransform object.private static AffineTransform
TransformUtils.transformationStringToMatrix
(String transformation) This method decides which transformation operation the given transformation strings maps onto.