Uses of Class java.awt.geom.AffineTransform

Uses in package java.awt.geom

Constructors with parameter type java.awt.geom.AffineTransform

Create a new transform which copies the given one.

Methods with parameter type java.awt.geom.AffineTransform

void
Set this transform to the result of performing the original version of this followed by tx.
Area
Returns a new Area equal to this one, transformed by the AffineTransform at.
Shape
Creates a transformed version of the path.
PathIterator
Returns an iterator over this arc, with an optional transformation.
PathIterator
Returns a PathIterator object defining the contour of this Area, transformed by at.
PathIterator
Return an iterator along the shape boundary.
PathIterator
Returns a PathIterator object corresponding to the ellipse.

Note: An ellipse cannot be represented exactly in PathIterator segments, the outline is thefore approximated with cubic Bezier segments.

PathIterator
Creates a PathIterator for iterating along the segments of the path.
PathIterator
Return a path iterator, possibly applying a transform on the result.
PathIterator
PathIterator
Return an iterator along the shape boundary.
PathIterator
Return a new path iterator which iterates over this rectangle.
PathIterator
Area.getPathIterator(AffineTransform at, double flatness)
Returns a flattened PathIterator object defining the contour of this Area, transformed by at and with a defined flatness.
PathIterator
Return an iterator along the flattened version of the shape boundary.
PathIterator
Creates a new FlatteningPathIterator for the path
PathIterator
Line2D.getPathIterator(AffineTransform at, double flatness)
Return a flat path iterator, possibly applying a transform on the result.
PathIterator
PathIterator
Return an iterator along the shape boundary.
PathIterator
Return an iterator along the shape boundary.
void
Set this transform to the result of performing tx followed by the original version of this.
void
Set this transform to a copy of the given one.
void
Transforms this area by the AffineTransform at.
void
Applies a transform to the path.

Methods with return type java.awt.geom.AffineTransform

AffineTransform
Returns a transform, which if concatenated to this one, will result in the identity transform.
AffineTransform
Returns a rotation transform.
AffineTransform
AffineTransform.getRotateInstance(double theta, double x, double y)
Returns a rotation transform about a point.
AffineTransform
AffineTransform.getScaleInstance(double sx, double sy)
Returns a scaling transform:
 [ sx 0  0 ]
 [ 0  sy 0 ]
 [ 0  0  1 ]
 
AffineTransform
AffineTransform.getShearInstance(double shx, double shy)
Returns a shearing transform (points are shifted in the x direction based on a factor of their y coordinate, and in the y direction as a factor of their x coordinate):
 [  1  shx 0 ]
 [ shy  1  0 ]
 [  0   0  1 ]
 
AffineTransform
AffineTransform.getTranslateInstance(double tx, double ty)
Returns a translation transform:
 [ 1 0 tx ]
 [ 0 1 ty ]
 [ 0 0 1  ]
 

Uses in package gnu.awt.xlib

Methods with return type java.awt.geom.AffineTransform

AffineTransform
Returns a transform that maps user coordinates to device coordinates.
AffineTransform
Returns a transform that maps user coordinates to device coordinates.

Uses in package gnu.java.awt.font

Methods with parameter type java.awt.geom.AffineTransform

void
FontDelegate.getAdvance(int glyphIndex, float pointSize, AffineTransform transform, boolean antialias, boolean fractionalMetrics, boolean horizontal, Point2D advance)
Determines the advance width and height for a glyph.
float
FontDelegate.getAscent(float pointSize, AffineTransform transform, boolean antialiased, boolean fractionalMetrics, boolean horizontal)
Determines the distance between the base line and the highest ascender.
float
FontDelegate.getDescent(float pointSize, AffineTransform transform, boolean antialiased, boolean fractionalMetrics, boolean horizontal)
Determines the distance between the base line and the lowest descender.
GeneralPath
FontDelegate.getGlyphOutline(int glyphIndex, float pointSize, AffineTransform transform, boolean antialias, boolean fractionalMetrics, int type)
Returns the shape of a glyph.
void
GNUGlyphVector.setGlyphTransform(int glyphIndex, AffineTransform transform)
Applies an affine transformation to the glyph at the specified index.

Methods with return type java.awt.geom.AffineTransform

AffineTransform
Returns the affine transformation that is applied to the glyph at the specified index.

Uses in package gnu.java.awt.peer

Fields of type java.awt.geom.AffineTransform

AffineTransform
The affine transformation the font is currently subject to.

Methods with parameter type java.awt.geom.AffineTransform

void
Font
Font
void
ClasspathFontPeer.setStandardAttributes(String name, String family, int style, float size, AffineTransform trans)

Methods with return type java.awt.geom.AffineTransform

AffineTransform
Implementation of Font.getTransform()

Uses in package java.awt.image

Constructors with parameter type java.awt.geom.AffineTransform

AffineTransformOp.AffineTransformOp(AffineTransform xform, int interpolationType)
Construct AffineTransformOp with the given xform and interpolationType.
Construct AffineTransformOp with the given xform and rendering hints.

Methods with return type java.awt.geom.AffineTransform

AffineTransform
Returns transform used in transformation between source and destination image.

Uses in package java.awt.font

Constructors with parameter type java.awt.geom.AffineTransform

FontRenderContext.FontRenderContext(AffineTransform tx, boolean isAntiAliased, boolean usesFractionalMetrics)
Construct a new FontRenderContext.
Creates a new attribute that contains a copy of the given transform.

Methods with parameter type java.awt.geom.AffineTransform

Shape
void

Methods with return type java.awt.geom.AffineTransform

AffineTransform
AffineTransform
Retrieves the affine transform for scaling typographical points to raster pixels.
AffineTransform
Returns a copy of the transform contained by this attribute.

Uses in package gnu.java.awt.font.opentype.truetype

Methods with parameter type java.awt.geom.AffineTransform

void
TrueTypeScaler.getAdvance(int glyphIndex, float pointSize, AffineTransform transform, boolean antialias, boolean fractionalMetrics, boolean horizontal, Point2D advance)
Determines the advance width and height for a glyph.
float
TrueTypeScaler.getAscent(float pointSize, AffineTransform transform, boolean antialias, boolean fractionalMetrics, boolean horizontal)
Determines the distance between the base line and the highest ascender.
float
TrueTypeScaler.getDescent(float pointSize, AffineTransform transform, boolean antialiased, boolean fractionalMetrics, boolean horizontal)
Determines the distance between the base line and the lowest descender.
GeneralPath
TrueTypeScaler.getOutline(int glyphIndex, float pointSize, AffineTransform deviceTransform, boolean antialias, boolean fractionalMetrics, Hinter hinter, int type)
Retrieves the scaled outline of a glyph, adjusting control points to the raster grid if necessary.
Zone
TrueTypeScaler.getRawOutline(int glyphIndex, AffineTransform transform)
Returns the raw outline data.

Uses in package gnu.awt.j2d

Methods with parameter type java.awt.geom.AffineTransform

boolean
void
void
void
Sets the current transform.
void
Sets the current transform to a concatenation of transform and the existing transform.

Methods with return type java.awt.geom.AffineTransform

AffineTransform
Returns the current transform.

Uses in package java.awt.image.renderable

Constructors with parameter type java.awt.geom.AffineTransform

Methods with parameter type java.awt.geom.AffineTransform

void
void
void
void
void

Methods with return type java.awt.geom.AffineTransform

AffineTransform

Uses in package gnu.java.awt.peer.gtk

Methods with parameter type java.awt.geom.AffineTransform

void
CairoGraphics2D.drawCairoSurface(CairoSurface surface, AffineTransform tx, double alpha, int interpolation)
Optimized method for drawing a CairoSurface onto this graphics context.
boolean
boolean
boolean
boolean
boolean
boolean
boolean
void
void
void
void
void
void
void
Sets the transform of a single glyph.
void
Set the current transform
void
@Override
ComponentGraphics.void drawCairoSurface(CairoSurface surface, AffineTransform tx, double alpha, int interpolation)

Methods with return type java.awt.geom.AffineTransform

AffineTransform
Returns a transform that maps user coordinates to device coordinates.
AffineTransform
Returns the transform of a glyph.
AffineTransform
Returns a transform that maps user coordinates to device coordinates.
AffineTransform

Uses in package java.awt

Methods with parameter type java.awt.geom.AffineTransform

PaintContext
Color.createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)
Returns a paint context, used for filling areas of a raster scan with this color.
PaintContext
Returns the PaintContext used to generate the color pattern.
PaintContext
Paint.createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)
Create the context necessary for performing the color pattern generation.
PaintContext
Returns a paint context, used for filling areas of a raster scan with the current value of this system color.
PaintContext
Creates the context used to paint the texture.
Font
Produces a new Font based on the current font, adjusted to a new style and subjected to a new affine transformation.
Font
Produces a new Font based on the current font, subjected to a new affine transformation.
boolean
void
void
PathIterator
Return an iterator along the shape boundary.
PathIterator
Return an iterator along the shape boundary.
PathIterator
Polygon.getPathIterator(AffineTransform transform, double flatness)
Return an iterator along the flattened version of the shape boundary.
PathIterator
Shape.getPathIterator(AffineTransform transform, double flatness)
Return an iterator along the flattened version of the shape boundary.
void
Sets the current transform.
void
Sets the current transform to a concatenation of transform and the existing transform.

Methods with return type java.awt.geom.AffineTransform

AffineTransform
Returns a transform that maps user coordinates to device coordinates.
AffineTransform
Returns a transform that maps user coordinates to device coordinates.
AffineTransform
Returns a copy of the affine transformation this font is currently subject to, if any.
AffineTransform
Returns the current transform.

Uses in package gnu.java.awt.font.opentype

Methods with parameter type java.awt.geom.AffineTransform

void
OpenTypeFont.getAdvance(int glyphIndex, float pointSize, AffineTransform transform, boolean antialias, boolean fractionalMetrics, boolean horizontal, Point2D advance)
Determines the advance width for a glyph.
void
Scaler.getAdvance(int glyphIndex, float pointSize, AffineTransform transform, boolean antialias, boolean fractionalMetrics, boolean horizontal, Point2D advance)
Determines the advance width and height for a glyph.
float
OpenTypeFont.getAscent(float pointSize, AffineTransform transform, boolean antialiased, boolean fractionalMetrics, boolean horizontal)
Determines the distance between the base line and the highest ascender.
float
Scaler.getAscent(float pointSize, AffineTransform transform, boolean antialias, boolean fractionalMetrics, boolean horizontal)
Determines the distance between the base line and the highest ascender.
float
OpenTypeFont.getDescent(float pointSize, AffineTransform transform, boolean antialiased, boolean fractionalMetrics, boolean horizontal)
Determines the distance between the base line and the lowest descender.
float
Scaler.getDescent(float pointSize, AffineTransform transform, boolean antialiased, boolean fractionalMetrics, boolean horizontal)
Determines the distance between the base line and the lowest descender.
GeneralPath
OpenTypeFont.getGlyphOutline(int glyph, float pointSize, AffineTransform transform, boolean antialias, boolean fractionalMetrics, int flags)
Returns the shape of a glyph.
GeneralPath
Scaler.getOutline(int glyph, float pointSize, AffineTransform transform, boolean antialias, boolean fractionalMetrics, Hinter hinter, int type)
Retrieves the scaled outline of a glyph, adjusting control points to the raster grid if necessary.
Zone
Fetches the raw glyph outline for the specified glyph index.
Zone
Scaler.getRawOutline(int glyph, AffineTransform transform)
Returns the raw outline data.

Uses in package gnu.java.awt.peer.x

Methods with return type java.awt.geom.AffineTransform

AffineTransform
Returns a transform that maps user coordinates to device coordinates.
AffineTransform
Returns a transform that maps user coordinates to device coordinates.

Uses in package gnu.java.awt.peer.qt

Constructors with parameter type java.awt.geom.AffineTransform

Fields of type java.awt.geom.AffineTransform

AffineTransform

Methods with parameter type java.awt.geom.AffineTransform

boolean
boolean
void
void
void
Sets the current transform.
void
Sets the current transform to a concatenation of transform and the existing transform.

Methods with return type java.awt.geom.AffineTransform

AffineTransform
Returns a transform that maps user coordinates to device coordinates.
AffineTransform
Returns the transform which transforms from this display's resolution to a 72 DPI resolution.
AffineTransform
AffineTransform
Returns the current transform.

Uses in package gnu.java.awt.java2d

Constructors with parameter type java.awt.geom.AffineTransform

Creates a new TexturePaintContext for the specified TexturePaint object.

Fields of type java.awt.geom.AffineTransform

AffineTransform
The transformation for this Graphics2D instance

Methods with parameter type java.awt.geom.AffineTransform

PaintContext
ImagePaint.createContext(ColorModel cm, Rectangle deviceBounds, Rectangle2D userBounds, AffineTransform xform, RenderingHints hints)
boolean
Draws the specified image and apply the transform for image space -> user space conversion.
void
Renders a renderable image.
void
Renders the specified image to the destination raster.
PathIterator
Return an iterator along the shape boundary.
PathIterator
ShapeWrapper.getPathIterator(AffineTransform transform, double flatness)
Return an iterator along the flattened version of the shape boundary.
void
ScanlineConverter.renderShape(Pixelizer p, Shape shape, Shape clip, AffineTransform trans, int res, int yRes, RenderingHints hints)
Renders the specified shape using the specified clip and transform.
void
Sets the transformation for this Graphics object.
void
Transforms the coordinate system using the specified transform t.

Methods with return type java.awt.geom.AffineTransform

AffineTransform
Returns the transformation of this coordinate system.