Uses of Class
java.awt.geom.AffineTransform
-
Packages that use AffineTransform Package Description java.awt Contains all of the classes for creating user interfaces and for painting graphics and images.java.awt.font Provides classes and interface relating to fonts.java.awt.geom Provides the Java 2D classes for defining and performing operations on objects related to two-dimensional geometry.java.awt.image Provides classes for creating and modifying images.java.awt.image.renderable Provides classes and interfaces for producing rendering-independent images. -
-
Uses of AffineTransform in java.awt
Methods in java.awt that return AffineTransform Modifier and Type Method Description abstract AffineTransformGraphicsConfiguration. getDefaultTransform()Returns the defaultAffineTransformfor thisGraphicsConfiguration.abstract AffineTransformGraphicsConfiguration. getNormalizingTransform()Returns anAffineTransformthat can be concatenated with the defaultAffineTransformof aGraphicsConfigurationso that 72 units in user space equals 1 inch in device space.AffineTransformFont. getTransform()Returns a copy of the transform associated with thisFont.abstract AffineTransformGraphics2D. getTransform()Returns a copy of the currentTransformin theGraphics2Dcontext.AffineTransformMultipleGradientPaint. getTransform()Returns a copy of the transform applied to the gradient.Methods in java.awt with parameters of type AffineTransform Modifier and Type Method Description PaintContextColor. createContext(ColorModel cm, Rectangle r, Rectangle2D r2d, AffineTransform xform, RenderingHints hints)Creates and returns aPaintContextused to generate a solid color field pattern.PaintContextGradientPaint. createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)Creates and returns aPaintContextused to generate a linear color gradient pattern.PaintContextLinearGradientPaint. createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform transform, RenderingHints hints)Creates and returns aPaintContextused to generate a linear color gradient pattern.PaintContextPaint. createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)Creates and returns aPaintContextused to generate the color pattern.PaintContextRadialGradientPaint. createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform transform, RenderingHints hints)Creates and returns aPaintContextused to generate a circular radial color gradient pattern.PaintContextTexturePaint. createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)Creates and returns aPaintContextused to generate a tiled image pattern.FontFont. deriveFont(int style, AffineTransform trans)Creates a newFontobject by replicating thisFontobject and applying a new style and transform.FontFont. deriveFont(AffineTransform trans)Creates a newFontobject by replicating the currentFontobject and applying a new transform to it.abstract booleanGraphics2D. drawImage(Image img, AffineTransform xform, ImageObserver obs)Renders an image, applying a transform from image space into user space before drawing.abstract voidGraphics2D. drawRenderableImage(RenderableImage img, AffineTransform xform)Renders aRenderableImage, applying a transform from image space into user space before drawing.abstract voidGraphics2D. drawRenderedImage(RenderedImage img, AffineTransform xform)Renders aRenderedImage, applying a transform from image space into user space before drawing.PathIteratorPolygon. getPathIterator(AffineTransform at)Returns an iterator object that iterates along the boundary of thisPolygonand provides access to the geometry of the outline of thisPolygon.PathIteratorPolygon. getPathIterator(AffineTransform at, double flatness)Returns an iterator object that iterates along the boundary of theShapeand provides access to the geometry of the outline of theShape.PathIteratorShape. getPathIterator(AffineTransform at)Returns an iterator object that iterates along theShapeboundary and provides access to the geometry of theShapeoutline.PathIteratorShape. getPathIterator(AffineTransform at, double flatness)Returns an iterator object that iterates along theShapeboundary and provides access to a flattened view of theShapeoutline geometry.abstract voidGraphics2D. setTransform(AffineTransform Tx)Overwrites the Transform in theGraphics2Dcontext.abstract voidGraphics2D. transform(AffineTransform Tx)Composes anAffineTransformobject with theTransformin thisGraphics2Daccording to the rule last-specified-first-applied.Constructors in java.awt with parameters of type AffineTransform Constructor Description LinearGradientPaint(Point2D start, Point2D end, float[] fractions, Color[] colors, MultipleGradientPaint.CycleMethod cycleMethod, MultipleGradientPaint.ColorSpaceType colorSpace, AffineTransform gradientTransform)Constructs aLinearGradientPaint.RadialGradientPaint(Point2D center, float radius, Point2D focus, float[] fractions, Color[] colors, MultipleGradientPaint.CycleMethod cycleMethod, MultipleGradientPaint.ColorSpaceType colorSpace, AffineTransform gradientTransform)Constructs aRadialGradientPaint. -
Uses of AffineTransform in java.awt.font
Methods in java.awt.font that return AffineTransform Modifier and Type Method Description abstract AffineTransformGlyphVector. getGlyphTransform(int glyphIndex)Returns the transform of the specified glyph within thisGlyphVector.AffineTransformFontRenderContext. getTransform()Gets the transform that is used to scale typographical points to pixels in thisFontRenderContext.AffineTransformTransformAttribute. getTransform()Returns a copy of the wrapped transform.Methods in java.awt.font with parameters of type AffineTransform Modifier and Type Method Description ShapeGraphicAttribute. getOutline(AffineTransform tx)Return aShapethat represents the region that thisGraphicAttributerenders.ShapeShapeGraphicAttribute. getOutline(AffineTransform tx)Return aShapethat represents the region that thisShapeGraphicAttributerenders.ShapeTextLayout. getOutline(AffineTransform tx)Returns aShaperepresenting the outline of thisTextLayout.abstract voidGlyphVector. setGlyphTransform(int glyphIndex, AffineTransform newTX)Sets the transform of the specified glyph within thisGlyphVector.Constructors in java.awt.font with parameters of type AffineTransform Constructor Description FontRenderContext(AffineTransform tx, boolean isAntiAliased, boolean usesFractionalMetrics)Constructs aFontRenderContextobject from an optionalAffineTransformand twobooleanvalues that determine if the newly constructed object has anti-aliasing or fractional metrics.FontRenderContext(AffineTransform tx, Object aaHint, Object fmHint)Constructs aFontRenderContextobject from an optionalAffineTransformand twoObjectvalues that determine if the newly constructed object has anti-aliasing or fractional metrics.TransformAttribute(AffineTransform transform)Wraps the specified transform. -
Uses of AffineTransform in java.awt.geom
Methods in java.awt.geom that return AffineTransform Modifier and Type Method Description AffineTransformAffineTransform. createInverse()Returns anAffineTransformobject representing the inverse transformation.static AffineTransformAffineTransform. getQuadrantRotateInstance(int numquadrants)Returns a transform that rotates coordinates by the specified number of quadrants.static AffineTransformAffineTransform. getQuadrantRotateInstance(int numquadrants, double anchorx, double anchory)Returns a transform that rotates coordinates by the specified number of quadrants around the specified anchor point.static AffineTransformAffineTransform. getRotateInstance(double theta)Returns a transform representing a rotation transformation.static AffineTransformAffineTransform. getRotateInstance(double vecx, double vecy)Returns a transform that rotates coordinates according to a rotation vector.static AffineTransformAffineTransform. getRotateInstance(double theta, double anchorx, double anchory)Returns a transform that rotates coordinates around an anchor point.static AffineTransformAffineTransform. getRotateInstance(double vecx, double vecy, double anchorx, double anchory)Returns a transform that rotates coordinates around an anchor point according to a rotation vector.static AffineTransformAffineTransform. getScaleInstance(double sx, double sy)Returns a transform representing a scaling transformation.static AffineTransformAffineTransform. getShearInstance(double shx, double shy)Returns a transform representing a shearing transformation.static AffineTransformAffineTransform. getTranslateInstance(double tx, double ty)Returns a transform representing a translation transformation.Methods in java.awt.geom with parameters of type AffineTransform Modifier and Type Method Description voidAffineTransform. concatenate(AffineTransform Tx)Concatenates anAffineTransform Txto thisAffineTransformCx in the most commonly useful way to provide a new user space that is mapped to the former user space byTx.AreaArea. createTransformedArea(AffineTransform t)Creates a newAreaobject that contains the same geometry as thisAreatransformed by the specifiedAffineTransform.ShapePath2D. createTransformedShape(AffineTransform at)Returns a newShaperepresenting a transformed version of thisPath2D.PathIteratorArc2D. getPathIterator(AffineTransform at)Returns an iteration object that defines the boundary of the arc.PathIteratorArea. getPathIterator(AffineTransform at)Creates aPathIteratorfor the outline of thisAreaobject.PathIteratorArea. getPathIterator(AffineTransform at, double flatness)Creates aPathIteratorfor the flattened outline of thisAreaobject.PathIteratorCubicCurve2D. getPathIterator(AffineTransform at)Returns an iteration object that defines the boundary of the shape.PathIteratorCubicCurve2D. getPathIterator(AffineTransform at, double flatness)Return an iteration object that defines the boundary of the flattened shape.PathIteratorEllipse2D. getPathIterator(AffineTransform at)Returns an iteration object that defines the boundary of thisEllipse2D.PathIteratorLine2D. getPathIterator(AffineTransform at)Returns an iteration object that defines the boundary of thisLine2D.PathIteratorLine2D. getPathIterator(AffineTransform at, double flatness)Returns an iteration object that defines the boundary of this flattenedLine2D.PathIteratorPath2D.Double. getPathIterator(AffineTransform at)Returns an iterator object that iterates along theShapeboundary and provides access to the geometry of theShapeoutline.PathIteratorPath2D.Float. getPathIterator(AffineTransform at)Returns an iterator object that iterates along theShapeboundary and provides access to the geometry of theShapeoutline.PathIteratorPath2D. getPathIterator(AffineTransform at, double flatness)Returns an iterator object that iterates along theShapeboundary and provides access to a flattened view of theShapeoutline geometry.PathIteratorQuadCurve2D. getPathIterator(AffineTransform at)Returns an iteration object that defines the boundary of the shape of thisQuadCurve2D.PathIteratorQuadCurve2D. getPathIterator(AffineTransform at, double flatness)Returns an iteration object that defines the boundary of the flattened shape of thisQuadCurve2D.PathIteratorRectangle2D. getPathIterator(AffineTransform at)Returns an iteration object that defines the boundary of thisRectangle2D.PathIteratorRectangle2D. getPathIterator(AffineTransform at, double flatness)Returns an iteration object that defines the boundary of the flattenedRectangle2D.PathIteratorRectangularShape. getPathIterator(AffineTransform at, double flatness)Returns an iterator object that iterates along theShapeobject's boundary and provides access to a flattened view of the outline of theShapeobject's geometry.PathIteratorRoundRectangle2D. getPathIterator(AffineTransform at)Returns an iteration object that defines the boundary of thisRoundRectangle2D.voidAffineTransform. preConcatenate(AffineTransform Tx)Concatenates anAffineTransform Txto thisAffineTransformCx in a less commonly used way such thatTxmodifies the coordinate transformation relative to the absolute pixel space rather than relative to the existing user space.voidAffineTransform. setTransform(AffineTransform Tx)Sets this transform to a copy of the transform in the specifiedAffineTransformobject.voidArea. transform(AffineTransform t)Transforms the geometry of thisAreausing the specifiedAffineTransform.voidPath2D.Double. transform(AffineTransform at)Transforms the geometry of this path using the specifiedAffineTransform.voidPath2D.Float. transform(AffineTransform at)Transforms the geometry of this path using the specifiedAffineTransform.abstract voidPath2D. transform(AffineTransform at)Transforms the geometry of this path using the specifiedAffineTransform.Constructors in java.awt.geom with parameters of type AffineTransform Constructor Description AffineTransform(AffineTransform Tx)Constructs a newAffineTransformthat is a copy of the specifiedAffineTransformobject.Double(Shape s, AffineTransform at)Constructs a new double precisionPath2Dobject from an arbitraryShapeobject, transformed by anAffineTransformobject.Float(Shape s, AffineTransform at)Constructs a new single precisionPath2Dobject from an arbitraryShapeobject, transformed by anAffineTransformobject. -
Uses of AffineTransform in java.awt.image
Methods in java.awt.image that return AffineTransform Modifier and Type Method Description AffineTransformAffineTransformOp. getTransform()Returns the affine transform used by this transform operation.Constructors in java.awt.image with parameters of type AffineTransform Constructor Description AffineTransformOp(AffineTransform xform, int interpolationType)Constructs anAffineTransformOpgiven an affine transform and the interpolation type.AffineTransformOp(AffineTransform xform, RenderingHints hints)Constructs anAffineTransformOpgiven an affine transform. -
Uses of AffineTransform in java.awt.image.renderable
Methods in java.awt.image.renderable that return AffineTransform Modifier and Type Method Description AffineTransformRenderContext. getTransform()Gets the current user-to-device AffineTransform.Methods in java.awt.image.renderable with parameters of type AffineTransform Modifier and Type Method Description voidRenderContext. concatenateTransform(AffineTransform modTransform)Modifies the current user-to-device transform by appending another transform.voidRenderContext. concetenateTransform(AffineTransform modTransform)Deprecated.replaced byconcatenateTransform(AffineTransform).voidRenderContext. preConcatenateTransform(AffineTransform modTransform)Modifies the current user-to-device transform by prepending another transform.voidRenderContext. preConcetenateTransform(AffineTransform modTransform)Deprecated.replaced bypreConcatenateTransform(AffineTransform).voidRenderContext. setTransform(AffineTransform newTransform)Sets the current user-to-device AffineTransform contained in the RenderContext to a given transform.Constructors in java.awt.image.renderable with parameters of type AffineTransform Constructor Description RenderContext(AffineTransform usr2dev)Constructs a RenderContext with a given transform.RenderContext(AffineTransform usr2dev, RenderingHints hints)Constructs a RenderContext with a given transform and rendering hints.RenderContext(AffineTransform usr2dev, Shape aoi)Constructs a RenderContext with a given transform and area of interest.RenderContext(AffineTransform usr2dev, Shape aoi, RenderingHints hints)Constructs a RenderContext with a given transform.
-