Uses of Class
com.itextpdf.kernel.geom.AffineTransform
-
-
Uses of AffineTransform in com.itextpdf.forms
Methods in com.itextpdf.forms that return AffineTransform Modifier and Type Method Description private AffineTransformPdfAcroForm. calcFieldAppTransformToAnnotRect(PdfFormXObject xObject, Rectangle annotBBox) -
Uses of AffineTransform in com.itextpdf.kernel.colors.gradients
Fields in com.itextpdf.kernel.colors.gradients declared as AffineTransform Modifier and Type Field Description private AffineTransformLinearGradientBuilder. transformationMethods in com.itextpdf.kernel.colors.gradients that return AffineTransform Modifier and Type Method Description private static AffineTransformStrategyBasedLinearGradientBuilder. buildToCornerTransform(Point center, Point gradientCenterLineRightCorner)protected AffineTransformAbstractLinearGradientBuilder. getCurrentSpaceToGradientVectorSpaceTransformation(Rectangle targetBoundingBox, AffineTransform contextTransform)Returns the current space to gradient vector space transformations that should be applied to the shading color.AffineTransformLinearGradientBuilder. getCurrentSpaceToGradientVectorSpaceTransformation(Rectangle targetBoundingBox, AffineTransform contextTransform)Methods in com.itextpdf.kernel.colors.gradients with parameters of type AffineTransform Modifier and Type Method Description ColorAbstractLinearGradientBuilder. buildColor(Rectangle targetBoundingBox, AffineTransform contextTransform, PdfDocument document)Builds theColorobject representing the linear gradient with specified configuration that fills the target bounding box.private static Point[]StrategyBasedLinearGradientBuilder. buildCoordinates(Rectangle targetBoundingBox, AffineTransform transformation)protected AffineTransformAbstractLinearGradientBuilder. getCurrentSpaceToGradientVectorSpaceTransformation(Rectangle targetBoundingBox, AffineTransform contextTransform)Returns the current space to gradient vector space transformations that should be applied to the shading color.AffineTransformLinearGradientBuilder. 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)LinearGradientBuilderLinearGradientBuilder. 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 AffineTransform Modifier and Type Method Description AffineTransformAffineTransform. clone()Creates a "deep copy" of this AffineTransform, meaning the object returned by this method will be independent of the object being cloned.AffineTransformAffineTransform. createInverse()Creates a newAffineTransformobject that is invert of thisAffineTransformobject.static AffineTransformAffineTransform. getRotateInstance(double angle)Get an affine transformation representing a counter-clockwise rotation over the passed anglestatic AffineTransformAffineTransform. 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 AffineTransformAffineTransform. getScaleInstance(double scx, double scY)Get a newAffineTransforminstance representing a scale over the passed valuesstatic AffineTransformAffineTransform. getShearInstance(double shx, double shy)Get a newAffineTransforminstance representing a shear over the passed valuesstatic AffineTransformAffineTransform. getTranslateInstance(double mx, double my)Get a newAffineTransforminstance representing a translation over the passed values(package private) AffineTransformAffineTransform. multiply(AffineTransform t1, AffineTransform t2)Multiply matrix of two AffineTransform objectsMethods in com.itextpdf.kernel.geom with parameters of type AffineTransform Modifier and Type Method Description voidAffineTransform. concatenate(AffineTransform t)Multiply matrix of two AffineTransform objects(package private) AffineTransformAffineTransform. multiply(AffineTransform t1, AffineTransform t2)Multiply matrix of two AffineTransform objectsvoidAffineTransform. preConcatenate(AffineTransform t)Multiply matrix of two AffineTransform objectsvoidAffineTransform. setTransform(AffineTransform t)Sets the values of thisAffineTransforminstance to the values provided.Constructors in com.itextpdf.kernel.geom with parameters of type AffineTransform Constructor Description AffineTransform(AffineTransform t)Will create a newAffineTransforminstance with the values provided from the originalAffineTransforminstance. -
Uses of AffineTransform in com.itextpdf.kernel.pdf.canvas
Methods in com.itextpdf.kernel.pdf.canvas with parameters of type AffineTransform Modifier and Type Method Description PdfCanvasPdfCanvas. concatMatrix(AffineTransform transform)Concatenates the affine transformation matrix to the current matrix in the content stream managed by this Canvas.PdfCanvasPdfCanvas. roundRectangle(double x, double y, double width, double height, double rx, double ry, AffineTransform transform)Draws rounded rectangle.PdfCanvasPdfCanvas. setTextMatrix(AffineTransform transform)Replaces the text matrix. -
Uses of AffineTransform in com.itextpdf.layout.properties
Methods in com.itextpdf.layout.properties that return AffineTransform Modifier and Type Method Description static AffineTransformTransform. getAffineTransform(Transform t, float width, float height)Converts theTransforminstance, i.e. -
Uses of AffineTransform in com.itextpdf.layout.renderer
Methods in com.itextpdf.layout.renderer that return AffineTransform Modifier and Type Method Description protected AffineTransformBlockRenderer. createRotationTransformInsideOccupiedArea()This method createsAffineTransforminstance that could be used to rotate content inside the occupied area.private AffineTransformAbstractRenderer. createTransformationInsideOccupiedArea()This method createsAffineTransforminstance 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 AffineTransform Modifier and Type Method Description private voidImageRenderer. calculateImageDimensions(Rectangle layoutBox, AffineTransform t, PdfXObject xObject)private voidImageRenderer. getMatrix(AffineTransform t, float imageItselfScaledWidth, float imageItselfScaledHeight)protected java.util.List<Point>AbstractRenderer. transformPoints(java.util.List<Point> points, AffineTransform transform)private voidImageRenderer. translateImage(float xDistance, float yDistance, AffineTransform t) -
Uses of AffineTransform in com.itextpdf.svg.renderers
Fields in com.itextpdf.svg.renderers declared as AffineTransform Modifier and Type Field Description private AffineTransformSvgDrawContext. clippingElementTransformprivate AffineTransformSvgDrawContext. rootTransformMethods in com.itextpdf.svg.renderers that return AffineTransform Modifier and Type Method Description AffineTransformSvgDrawContext. getClippingElementTransform()Gets clipping element transformation matrix.AffineTransformSvgDrawContext. getConcatenatedTransform()Concatenates all transformations applied from the top level of the svg to the current one.AffineTransformSvgDrawContext. getCurrentCanvasTransform()Get the current canvas transformation.AffineTransformSvgDrawContext. getLastTextTransform()Deprecated.in favour ofSvgDrawContext.getRootTransform()AffineTransformSvgDrawContext. getRootTransform()Get the current root transformation that was last applied.Methods in com.itextpdf.svg.renderers with parameters of type AffineTransform Modifier and Type Method Description voidSvgDrawContext. setLastTextTransform(AffineTransform newTransform)Deprecated.in favour ofSvgDrawContext.setRootTransform(AffineTransform)voidSvgDrawContext. setRootTransform(AffineTransform newTransform)Set the current root transformation. -
Uses of AffineTransform in com.itextpdf.svg.renderers.impl
Fields in com.itextpdf.svg.renderers.impl declared as AffineTransform Modifier and Type Field Description protected static AffineTransformTextSvgBranchRenderer. TEXTFLIPTop 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 AffineTransform Modifier and Type Method Description (package private) AffineTransformAbstractSvgNodeRenderer. applyNonScalingStrokeTransform(SvgDrawContext context)Applies non-scaling-stroke vector-effect to this renderer by concatenating all transformations applied from the top level of the svg to the current one, inverting it and applying to the current canvas.(package private) AffineTransformPdfRootSvgNodeRenderer. calculateTransformation(SvgDrawContext context)(package private) AffineTransformAbstractSvgNodeRenderer. calculateViewPortTranslation(SvgDrawContext context)Calculate the transformation for the viewport based on the context.protected AffineTransformAbstractGradientSvgNodeRenderer. getGradientTransform()Evaluates the 'gradientTransform' transformationsprivate AffineTransformLinearGradientSvgNodeRenderer. getGradientTransformToUserSpaceOnUse(Rectangle objectBoundingBox, boolean isObjectBoundingBox)private AffineTransformPatternSvgNodeRenderer. getPatternTransform()private static AffineTransformTextSvgBranchRenderer. getTextTransform(float[][] absolutePositions, SvgDrawContext context)private static AffineTransformPatternSvgNodeRenderer. getTransformToUserSpaceOnUse(Rectangle objectBoundingBox)Methods in com.itextpdf.svg.renderers.impl with parameters of type AffineTransform Modifier and Type Method Description private static PdfPattern.TilingPatternSvgNodeRenderer. createColoredTilingPatternInstance(AffineTransform patternAffineTransform, Rectangle bbox, double xStep, double yStep)private static voidPatternSvgNodeRenderer. setPatternMatrix(PdfPattern.Tiling pattern, AffineTransform affineTransform)private voidTextSvgBranchRenderer. startNewTextChunk(SvgDrawContext context, AffineTransform newTransform) -
Uses of AffineTransform in com.itextpdf.svg.renderers.path.impl
Fields in com.itextpdf.svg.renderers.path.impl declared as AffineTransform Modifier and Type Field Description private AffineTransformAbstractPathShape. transformMethods in com.itextpdf.svg.renderers.path.impl with parameters of type AffineTransform Modifier and Type Method Description voidAbstractPathShape. setTransform(AffineTransform transform)SetsAffineTransformto apply before drawing the shape. -
Uses of AffineTransform in com.itextpdf.svg.utils
Methods in com.itextpdf.svg.utils that return AffineTransform Modifier and Type Method Description private static AffineTransformTransformUtils. createMatrixTransformation(java.util.List<java.lang.String> values)Creates a matrix transformation.private static AffineTransformTransformUtils. createRotationTransformation(java.util.List<java.lang.String> values)Creates a rotate transformation.private static AffineTransformTransformUtils. createScaleTransformation(java.util.List<java.lang.String> values)Creates a scale transformation.private static AffineTransformTransformUtils. createSkewXTransformation(java.util.List<java.lang.String> values)Creates a skewX transformation.private static AffineTransformTransformUtils. createSkewYTransformation(java.util.List<java.lang.String> values)Creates a skewY transformation.private static AffineTransformTransformUtils. createTranslateTransformation(java.util.List<java.lang.String> values)Creates a translate transformation.static AffineTransformTransformUtils. parseTransform(java.lang.String transform)Converts a string containing a transform declaration into an AffineTransform object.private static AffineTransformTransformUtils. transformationStringToMatrix(java.lang.String transformation)This method decides which transformation operation the given transformation strings maps onto.Methods in com.itextpdf.svg.utils with parameters of type AffineTransform Modifier and Type Method Description static voidDrawUtils. arc(double x1, double y1, double x2, double y2, double startAng, double extent, PdfCanvas cv, AffineTransform transform)Draw an arc on the passed canvas with provided transform, enclosed by the rectangle for which two opposite corners are specified.
-