Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR-209 (Final Approval Ballot)

Uses of Class
java.awt.geom.AffineTransform

Packages that use AffineTransform
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. 
 

Uses of AffineTransform in java.awt
 

Methods in java.awt that return AffineTransform
abstract  AffineTransform Graphics2D.getTransform()
          Returns a copy of the current Transform in the Graphics2D context.
abstract  AffineTransform GraphicsConfiguration.getDefaultTransform()
          Returns the default AffineTransform for this GraphicsConfiguration.
abstract  AffineTransform GraphicsConfiguration.getNormalizingTransform()
          Returns a AffineTransform that can be concatenated with the default AffineTransform of a GraphicsConfiguration so that 72 units in user space equals 1 inch in device space.
 AffineTransform Font.getTransform()
          Returns a copy of the transform associated with this Font.
 

Methods in java.awt with parameters of type AffineTransform
 PaintContext TexturePaint.createContext(java.awt.image.ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)
          Creates and returns a context used to generate the color pattern.
 PaintContext GradientPaint.createContext(java.awt.image.ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)
          Creates and returns a context used to generate the color pattern.
 PaintContext Paint.createContext(java.awt.image.ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)
          Creates and returns a PaintContext used to generate the color pattern.
abstract  void Graphics2D.transform(AffineTransform Tx)
          Composes an AffineTransform object with the Transform in this Graphics2D according to the rule last-specified-first-applied.
abstract  void Graphics2D.setTransform(AffineTransform Tx)
          Overwrites the Transform in the Graphics2D context.
 PathIterator Polygon.getPathIterator(AffineTransform at)
          Returns an iterator object that iterates along the boundary of this Polygon and provides access to the geometry of the outline of this Polygon.
 PathIterator Polygon.getPathIterator(AffineTransform at, double flatness)
          Returns an iterator object that iterates along the boundary of the Shape and provides access to the geometry of the outline of the Shape.
 PathIterator Shape.getPathIterator(AffineTransform at)
          Returns an iterator object that iterates along the Shape boundary and provides access to the geometry of the Shape outline.
 PathIterator Shape.getPathIterator(AffineTransform at, double flatness)
          Returns an iterator object that iterates along the Shape boundary and provides access to a flattened view of the Shape outline geometry.
 Font Font.deriveFont(AffineTransform trans)
          Creates a new Font object by replicating the current Font object and applying a new transform to it.
 PaintContext Color.createContext(java.awt.image.ColorModel cm, Rectangle r, Rectangle2D r2d, AffineTransform xform, RenderingHints hints)
          Creates and returns a PaintContext used to generate a solid color pattern.
 

Uses of AffineTransform in java.awt.font
 

Methods in java.awt.font that return AffineTransform
 AffineTransform TransformAttribute.getTransform()
          Returns a copy of the wrapped transform.
 AffineTransform FontRenderContext.getTransform()
          Gets the transform that is used to scale typographical points to pixels in this FontRenderContext.
abstract  AffineTransform GlyphVector.getGlyphTransform(int glyphIndex)
          Returns the transform of the specified glyph within this GlyphVector.
 

Methods in java.awt.font with parameters of type AffineTransform
 Shape TextLayout.getOutline(AffineTransform tx)
          Returns a Shape representing the outline of this TextLayout.
abstract  void GlyphVector.setGlyphTransform(int glyphIndex, AffineTransform newTX)
          Sets the transform of the specified glyph within this GlyphVector.
 

Constructors in java.awt.font with parameters of type AffineTransform
TransformAttribute(AffineTransform transform)
          Wraps the specified transform.
FontRenderContext(AffineTransform tx, boolean isAntiAliased, boolean usesFractionalMetrics)
          Constructs a FontRenderContext object from an optional AffineTransform and two boolean values that determine if the newly constructed object has anti-aliasing or fractional metrics.
 

Uses of AffineTransform in java.awt.geom
 

Methods in java.awt.geom that return AffineTransform
static AffineTransform AffineTransform.getTranslateInstance(double tx, double ty)
          Returns a transform representing a translation transformation.
static AffineTransform AffineTransform.getRotateInstance(double theta)
          Returns a transform representing a rotation transformation.
static AffineTransform AffineTransform.getRotateInstance(double theta, double x, double y)
          Returns a transform that rotates coordinates around an anchor point.
static AffineTransform AffineTransform.getScaleInstance(double sx, double sy)
          Returns a transform representing a scaling transformation.
static AffineTransform AffineTransform.getShearInstance(double shx, double shy)
          Returns a transform representing a shearing transformation.
 AffineTransform AffineTransform.createInverse()
          Returns an AffineTransform object representing the inverse transformation.
 

Methods in java.awt.geom with parameters of type AffineTransform
 PathIterator RectangularShape.getPathIterator(AffineTransform at, double flatness)
          Returns an iterator object that iterates along the Shape object's boundary and provides access to a flattened view of the outline of the Shape object's geometry.
 PathIterator Rectangle2D.getPathIterator(AffineTransform at)
          Returns an iteration object that defines the boundary of this Rectangle2D.
 PathIterator Rectangle2D.getPathIterator(AffineTransform at, double flatness)
          Returns an iteration object that defines the boundary of the flattened Rectangle2D.
 PathIterator RoundRectangle2D.getPathIterator(AffineTransform at)
          Returns an iteration object that defines the boundary of this RoundRectangle2D.
 void GeneralPath.transform(AffineTransform at)
          Transforms the geometry of this path using the specified AffineTransform.
 Shape GeneralPath.createTransformedShape(AffineTransform at)
          Returns a new transformed Shape.
 PathIterator GeneralPath.getPathIterator(AffineTransform at)
          Returns a PathIterator object that iterates along the boundary of this Shape and provides access to the geometry of the outline of this Shape.
 PathIterator GeneralPath.getPathIterator(AffineTransform at, double flatness)
          Returns a PathIterator object that iterates along the boundary of the flattened Shape and provides access to the geometry of the outline of the Shape.
 PathIterator QuadCurve2D.getPathIterator(AffineTransform at)
          Returns an iteration object that defines the boundary of the shape of this QuadCurve2D.
 PathIterator QuadCurve2D.getPathIterator(AffineTransform at, double flatness)
          Returns an iteration object that defines the boundary of the flattened shape of this QuadCurve2D.
 PathIterator Line2D.getPathIterator(AffineTransform at)
          Returns an iteration object that defines the boundary of this Line2D.
 PathIterator Line2D.getPathIterator(AffineTransform at, double flatness)
          Returns an iteration object that defines the boundary of this flattened Line2D.
 PathIterator CubicCurve2D.getPathIterator(AffineTransform at)
          Returns an iteration object that defines the boundary of the shape.
 PathIterator CubicCurve2D.getPathIterator(AffineTransform at, double flatness)
          Return an iteration object that defines the boundary of the flattened shape.
 void AffineTransform.setTransform(AffineTransform Tx)
          Sets this transform to a copy of the transform in the specified AffineTransform object.
 void AffineTransform.concatenate(AffineTransform Tx)
          Concatenates an AffineTransform Tx to this AffineTransform Cx in the most commonly useful way to provide a new user space that is mapped to the former user space by Tx.
 void AffineTransform.preConcatenate(AffineTransform Tx)
          Concatenates an AffineTransform Tx to this AffineTransform Cx in a less commonly used way such that Tx modifies the coordinate transformation relative to the absolute pixel space rather than relative to the existing user space.
 PathIterator Arc2D.getPathIterator(AffineTransform at)
          Returns an iteration object that defines the boundary of the arc.
 PathIterator Ellipse2D.getPathIterator(AffineTransform at)
          Returns an iteration object that defines the boundary of this Ellipse2D.
 void Area.transform(AffineTransform t)
          Transforms the geometry of this Area using the specified AffineTransform.
 Area Area.createTransformedArea(AffineTransform t)
          Creates a new Area object that contains the same geometry as this Area transformed by the specified AffineTransform.
 PathIterator Area.getPathIterator(AffineTransform at)
          Creates a PathIterator for the outline of this Area object.
 PathIterator Area.getPathIterator(AffineTransform at, double flatness)
          Creates a PathIterator for the flattened outline of this Area object.
 

Constructors in java.awt.geom with parameters of type AffineTransform
AffineTransform(AffineTransform Tx)
          Constructs a new AffineTransform that is a copy of the specified AffineTransform object.
 

Uses of AffineTransform in java.awt.image
 

Methods in java.awt.image that return AffineTransform
 AffineTransform AffineTransformOp.getTransform()
          Returns the affine transform used by this transform operation.
 

Constructors in java.awt.image with parameters of type AffineTransform
AffineTransformOp(AffineTransform xform, RenderingHints hints)
          Constructs an AffineTransformOp given an affine transform.
AffineTransformOp(AffineTransform xform, int interpolationType)
          Constructs an AffineTransformOp given an affine transform and the interpolation type.
 


JSR-209 (Final Approval Ballot)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 209 specification.