Uses of Class java.awt.geom.Point2D

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

Methods with parameter type java.awt.geom.Point2D

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.

Uses in package gnu.java.awt.font

Methods with parameter type java.awt.geom.Point2D

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.
void
GNUGlyphVector.setGlyphPosition(int glyphIndex, Point2D position)
Moves the specified glyph to a new position, or changes the advance width and height of the entire glyph vector.

Methods with return type java.awt.geom.Point2D

Point2D
Determines the position of the specified glyph, or the total advance width and height of the vector.

Uses in package gnu.java.awt.java2d

Constructors with parameter type java.awt.geom.Point2D

Fields of type java.awt.geom.Point2D

Point2D
Point2D
Point2D
Point2D
Point2D

Methods with parameter type java.awt.geom.Point2D

boolean
Test if the point lie in the shape.

Uses in package java.awt.image

Methods with parameter type java.awt.geom.Point2D

Point2D
Returns location of the transformed source point.
Point2D
Return corresponding destination point for source point.
Point2D
Returns the point on the destination image that corresponds to the given point on the source image.
Point2D
Returns the corresponding destination point for a source point.
Point2D
Returns the corresponding destination point for a source point.
Point2D
Returns the corresponding destination point for a given source point.
Point2D
RasterOp.getPoint2D(Point2D srcPoint, Point2D destPoint)
Returns the point on the destination raster that corresponds to the given point on the source raster.
Point2D
Returns the point on the destination raster that corresponds to the given point on the source raster.

Methods with return type java.awt.geom.Point2D

Point2D
Returns location of the transformed source point.
Point2D
Return corresponding destination point for source point.
Point2D
Returns the point on the destination image that corresponds to the given point on the source image.
Point2D
Returns the corresponding destination point for a source point.
Point2D
Returns the corresponding destination point for a source point.
Point2D
Returns the corresponding destination point for a given source point.
Point2D
RasterOp.getPoint2D(Point2D srcPoint, Point2D destPoint)
Returns the point on the destination raster that corresponds to the given point on the source raster.
Point2D
Returns the point on the destination raster that corresponds to the given point on the source raster.

Uses in package java.awt.geom

Classes derived from java.awt.geom.Point2D

class
This class defines a point in double precision.
class
This class defines a point in float precision.

Constructors with parameter type java.awt.geom.Point2D

Construct the line segment with the specified points.
Construct the line segment with the specified points.

Methods with parameter type java.awt.geom.Point2D

void
Modifies this rectangle so that it represents the smallest rectangle that contains both the existing rectangle and the specified point.
boolean
Determines if the Point2D p is contained within this Area.
boolean
Determines whether a point lies inside the area bounded by the curve and the straight line connecting its end points.
boolean
Evaluates if a Point2D is within the GeneralPath, The NON_ZERO winding rule is used, regardless of the set winding rule.
boolean
Test if a point is contained inside the line.
boolean
Determines whether a point is inside the area bounded by the curve and the straight line connecting its end points.
boolean
Tests if a point is inside the boundary of the shape.
Point2D
Perform this transformation, less any translation, on the given source point, and store the result in the destination (creating it if necessary).
double
Return the distance from this point to the given one.
double
Return the square of the distance from this point to the given one.
Point2D
Perform the inverse of this transformation on the given source point, and store the result in the destination (creating it if necessary).
int
Determine where the point lies with respect to this rectangle.
double
Measures the shortest distance from the reference point to a point on the infinite line extended from this segment.
double
Measures the square of the shortest distance from the reference point to a point on the infinite line extended from this segment.
double
Measures the shortest distance from the reference point to a point on this line segment.
double
Measures the square of the shortest distance from the reference point to a point on this line segment.
int
Computes the relative rotation direction needed to pivot this line about the first point in order to have the second point colinear with point p.
void
Sets the starting angle to the angle of the given point relative to the center of the arc.
void
Sets the starting and extent angles to those of the given points relative to the center of the arc.
void
Arc2D.setArc(Point2D p, Dimension2D d, double start, double extent, int type)
Set the parameters of the arc.
void
Arc2D.setArcByTangent(Point2D p1, Point2D p2, Point2D p3, double r)
Sets the parameters of the arc by finding the tangents of two lines, and using the specified radius.
void
Changes the curve geometry, specifying coordinate values in separate Point objects.
void
Changes the curve geometry, specifying coordinate values in separate Point objects.
void
CubicCurve2D.setCurve(Point2D[] pts, int offset)
Changes the curve geometry, specifying coordinate values in an array of Point objects.
void
QuadCurve2D.setCurve(Point2D[] pts, int offset)
Changes the curve geometry, specifying coordinate values in an array of Point objects.
void
Set the framing rectangle of this shape to the given coordinate and size.
void
Set the framing rectangle of this shape using the center of the frame, and one of the four corners.
void
Set the framing rectangle of this shape using two points on a diagonal.
void
Set the coordinates to the given points.
void
Set the location of this point to the new coordinates.
Point2D
Perform this transformation on the given source point, and store the result in the destination (creating it if necessary).
void
AffineTransform.transform(Point2D[] src, int srcOff, Point2D[] dst, int dstOff, int num)
Perform this transformation on an array of points, storing the results in another (possibly same) array.

Methods with return type java.awt.geom.Point2D

Point2D
Perform this transformation, less any translation, on the given source point, and store the result in the destination (creating it if necessary).
Point2D
Returns the curve’s first control point.
Point2D
Returns the curve’s first control point.
Point2D
Returns the curve’s first control point.
Point2D
Returns the curve’s second control point.
Point2D
Returns the curve’s second control point.
Point2D
Returns the curve’s second control point.
Point2D
Returns the curve’s control point.
Point2D
Returns the curve’s control point.
Point2D
Returns the curve’s control point.
Point2D
Returns the current appending point of the path.
Point2D
Returns the ending point of the arc.
Point2D
Returns the curve’s start point.
Point2D
Returns the curve’s start point.
Point2D
Returns the curve’s start point.
Point2D
Return the first point.
Point2D
Return the first point.
Point2D
Return the first point.
Point2D
Returns the curve’s start point.
Point2D
Returns the curve’s start point.
Point2D
Returns the curve’s start point.
Point2D
Returns the curve’s end point.
Point2D
Returns the curve’s end point.
Point2D
Returns the curve’s end point.
Point2D
Return the second point.
Point2D
Return the second point.
Point2D
Return the second point.
Point2D
Returns the curve’s end point.
Point2D
Returns the curve’s end point.
Point2D
Returns the curve’s end point.
Point2D
Returns the starting point of the arc.
Point2D
Perform the inverse of this transformation on the given source point, and store the result in the destination (creating it if necessary).
Point2D
Perform this transformation on the given source point, and store the result in the destination (creating it if necessary).

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

Methods with parameter type java.awt.geom.Point2D

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.

Uses in package java.awt

Classes derived from java.awt.geom.Point2D

class
This class represents a point on the screen using cartesian coordinates.

Constructors with parameter type java.awt.geom.Point2D

Creates a new acyclic GradientPaint.
GradientPaint.GradientPaint(Point2D p1, Color c1, Point2D p2, Color c2, boolean cyclic)
Creates a new cyclic or acyclic GradientPaint.

Methods with parameter type java.awt.geom.Point2D

boolean
Tests whether or not the specified point is inside this polygon.
boolean
Test if the point lie in the shape.

Methods with return type java.awt.geom.Point2D

Point2D
Returns a point with the same coordinates as the anchor point for color 1.
Point2D
Returns a point with the same coordinates as the anchor point for color 2.

Uses in package java.awt.font

Methods with parameter type java.awt.geom.Point2D

void
GlyphVector.setGlyphPosition(int glyphIndex, Point2D newPos)

Methods with return type java.awt.geom.Point2D

Point2D
GlyphVector.getGlyphPosition(int glyphIndex)

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

Methods with parameter type java.awt.geom.Point2D

void
FreetypeGlyphVector.setGlyphPosition(int glyphIndex, Point2D newPos)
Sets the position of a glyph.

Methods with return type java.awt.geom.Point2D

Point2D
Returns the position of a single glyph.

Uses in package gnu.java.awt

Methods with parameter type java.awt.geom.Point2D

Point2D
Returns the point on the destination raster that corresponds to the given point on the source raster.

Methods with return type java.awt.geom.Point2D

Point2D
Returns the point on the destination raster that corresponds to the given point on the source raster.