|
Java Platform 1.2 Beta 4 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Point2D | |
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 Point2D in java.awt |
Subclasses of Point2D in java.awt | |
Point
A point representing a location in (x, y) coordinate space, specified in integer precision. |
Methods in java.awt with parameters of type Point2D | |
boolean | Shape.contains(Point2D p)
Tests if a given Point is inside the boundary of the shape. |
boolean | Polygon.contains(Point2D p)
Test if a given Point is inside the boundary of the shape. |
Constructors in java.awt with parameters of type Point2D | |
GradientPaint.GradientPaint(Point2D pt1,
Color color1,
Point2D pt2,
Color color2)
Constructs a simple acyclic GradientPaint object. |
|
GradientPaint.GradientPaint(Point2D pt1,
Color color1,
Point2D pt2,
Color color2,
boolean cyclic)
Constructs either a cyclic or acyclic GradientPaint object depending on the boolean parameter. |
Uses of Point2D in java.awt.font |
Methods in java.awt.font that return Point2D | |
abstract Point2D | GlyphVector.getGlyphPosition(int glyphIndex)
Return the position of the specified glyph within the GlyphVector. |
Methods in java.awt.font with parameters of type Point2D | |
abstract void | GlyphVector.setGlyphPosition(int glyphIndex,
Point2D newPos)
Set the position of the specified glyph within the GlyphVector. |
Uses of Point2D in java.awt.geom |
Subclasses of Point2D in java.awt.geom | |
static | Point2D.Double
A point specified in double precision. |
static | Point2D.Float
A point specified in float precision. |
Methods in java.awt.geom that return Point2D | |
Point2D | AffineTransform.transform(Point2D ptSrc,
Point2D ptDst)
Transforms the specified ptSrc and stores the result in ptDst. |
Point2D | AffineTransform.inverseTransform(Point2D ptSrc,
Point2D ptDst)
Inverse transforms the specified ptSrc and stores the result in ptDst. |
Point2D | AffineTransform.deltaTransform(Point2D ptSrc,
Point2D ptDst)
Transforms the relative distance vector specified by ptSrc and stores the result in ptDst. |
abstract Point2D | Line2D.getP1()
Returns the start point. |
abstract Point2D | Line2D.getP2()
Returns the end point. |
Point2D | Line2D.Float.getP1()
Returns the start point. |
Point2D | Line2D.Float.getP2()
Returns the end point. |
Point2D | Line2D.Double.getP1()
Returns the start point. |
Point2D | Line2D.Double.getP2()
Returns the end point. |
abstract Point2D | CubicCurve2D.getP1()
Returns the start point. |
abstract Point2D | CubicCurve2D.getCtrlP1()
Returns the first control point. |
abstract Point2D | CubicCurve2D.getCtrlP2()
Returns the second control point. |
abstract Point2D | CubicCurve2D.getP2()
Returns the end point. |
Point2D | CubicCurve2D.Float.getP1()
Returns the start point. |
Point2D | CubicCurve2D.Float.getCtrlP1()
Returns the first control point. |
Point2D | CubicCurve2D.Float.getCtrlP2()
Returns the second control point. |
Point2D | CubicCurve2D.Float.getP2()
Returns the end point. |
Point2D | CubicCurve2D.Double.getP1()
Returns the start point. |
Point2D | CubicCurve2D.Double.getCtrlP1()
Returns the first control point. |
Point2D | CubicCurve2D.Double.getCtrlP2()
Returns the second control point. |
Point2D | CubicCurve2D.Double.getP2()
Returns the end point. |
Point2D | GeneralPath.getCurrentPoint()
Returns the most recent point added to the end of the path. |
Point2D | Arc2D.getStartPoint()
Returns the starting point of the arc. |
Point2D | Arc2D.getEndPoint()
Returns the ending point of the arc. |
abstract Point2D | QuadCurve2D.getP1()
Returns the start point. |
abstract Point2D | QuadCurve2D.getCtrlPt()
Returns the control point. |
abstract Point2D | QuadCurve2D.getP2()
Returns the end point. |
Point2D | QuadCurve2D.Float.getP1()
Returns the start point. |
Point2D | QuadCurve2D.Float.getCtrlPt()
Returns the control point. |
Point2D | QuadCurve2D.Float.getP2()
Returns the end point. |
Point2D | QuadCurve2D.Double.getP1()
Returns the start point. |
Point2D | QuadCurve2D.Double.getCtrlPt()
Returns the control point. |
Point2D | QuadCurve2D.Double.getP2()
Returns the end point. |
Methods in java.awt.geom with parameters of type Point2D | |
void | Point2D.setLocation(Point2D p)
Sets the location of this point to the same coordinates as the specified Point object. |
double | Point2D.distanceSq(Point2D pt)
Returns the square of the distance from this point to another. |
double | Point2D.distance(Point2D pt)
Returns the distance from this point to another. |
void | RectangularShape.setFrame(Point2D loc,
Dimension2D size)
Sets the outer bounds of this shape to be the same as the specified Point and Dimension objects. |
void | RectangularShape.setFrameFromDiagonal(Point2D p1,
Point2D p2)
Sets the outer bounds of this shape based on two Point objects along one of its diagonals. |
void | RectangularShape.setFrameFromCenter(Point2D center,
Point2D corner)
Sets the outer bounds of this shape based on a center point and a corner point. |
boolean | RectangularShape.contains(Point2D p)
Test if a given Point is inside the boundary of the shape. |
int | Rectangle2D.outcode(Point2D p)
Determines where the specified point lies with respect to this Rectangle. |
void | Rectangle2D.add(Point2D pt)
Adds the Point2D object pt to this rectangle.
|
Point2D | AffineTransform.transform(Point2D ptSrc,
Point2D ptDst)
Transforms the specified ptSrc and stores the result in ptDst. |
void | AffineTransform.transform(Point2D[] ptSrc,
int srcOff,
Point2D[] ptDst,
int dstOff,
int numPts)
Transforms an array of point objects by this transform. |
Point2D | AffineTransform.inverseTransform(Point2D ptSrc,
Point2D ptDst)
Inverse transforms the specified ptSrc and stores the result in ptDst. |
Point2D | AffineTransform.deltaTransform(Point2D ptSrc,
Point2D ptDst)
Transforms the relative distance vector specified by ptSrc and stores the result in ptDst. |
void | Line2D.setLine(Point2D p1,
Point2D p2)
Sets the location of the endpoints of this line to the specified Point coordinates. |
int | Line2D.relativeCCW(Point2D p)
Return an indicator of where the specified point lies with respect to this line segment. |
double | Line2D.ptSegDistSq(Point2D pt)
Returns the square of the distance from a point to this line segment. |
double | Line2D.ptSegDist(Point2D pt)
Returns the distance from a point to this line segment. |
double | Line2D.ptLineDistSq(Point2D pt)
Returns the square of the distance from a point to this line. |
double | Line2D.ptLineDist(Point2D pt)
Returns the distance from a point to this line. |
boolean | Line2D.contains(Point2D p)
Test if a given Point is inside the boundary of the shape. |
void | CubicCurve2D.setCurve(Point2D p1,
Point2D cp1,
Point2D cp2,
Point2D p2)
Sets the location of the endpoints and controlpoints of this curve to the specified Point coordinates. |
void | CubicCurve2D.setCurve(Point2D[] pts,
int offset)
Sets the location of the endpoints and controlpoints of this curve to the coordinates of the Point objects at the specified offset in the specified array. |
boolean | CubicCurve2D.contains(Point2D p)
Test if a given Point is inside the boundary of the shape. |
boolean | Area.contains(Point2D p)
Tests if a given coordinate lies inside the boundary of the shape. |
boolean | GeneralPath.contains(Point2D p)
Test if a given Point is inside the boundary of the shape. |
void | Arc2D.setArc(Point2D loc,
Dimension2D size,
double angSt,
double angExt,
int closure)
Sets the location, size, angular extents, and closure type of this arc to the specified Point and Dimension and double values. |
void | Arc2D.setArcByTangent(Point2D p1,
Point2D p2,
Point2D p3,
double radius)
Sets the position, bounds, and angular extents of this arc so that the starting angle is tangent to the line specified by points (p1, p2) and the ending angle is tangent to the line specified by points (p2, p3) with the given radius. |
void | Arc2D.setAngleStart(Point2D p)
Sets the starting angle of this arc to the angle that the specified point defines relative to the center of this arc. |
void | Arc2D.setAngles(Point2D p1,
Point2D p2)
Sets the angular extents of this arc to the angles that the specified Point objects define relative to the center of this arc. |
void | QuadCurve2D.setCurve(Point2D p1,
Point2D cp,
Point2D p2)
Sets the location of the endpoints and controlpoint of this curve to the specified Point coordinates. |
void | QuadCurve2D.setCurve(Point2D[] pts,
int offset)
Sets the location of the endpoints and controlpoints of this curve to the coordinates of the Point objects at the specified offset in the specified array. |
boolean | QuadCurve2D.contains(Point2D p)
Test if a given Point is inside the boundary of the shape. |
Constructors in java.awt.geom with parameters of type Point2D | |
Line2D.Float.Line2D.Float(Point2D p1,
Point2D p2)
Constructs and initializes a Line from the specified Points. |
|
Line2D.Double.Line2D.Double(Point2D p1,
Point2D p2)
Constructs and initializes a Line from the specified Points. |
Uses of Point2D in java.awt.image |
Methods in java.awt.image that return Point2D | |
Point2D | BufferedImageOp.getPoint2D(Point2D srcPt,
Point2D dstPt)
Returns the location of the destination point given a point in the source image. |
Point2D | LookupOp.getPoint2D(Point2D srcPt,
Point2D dstPt)
Returns the location of the destination point given a point in the source. |
Point2D | RasterOp.getPoint2D(Point2D srcPt,
Point2D dstPt)
Returns the location of the destination point given a point in the source Raster. |
Point2D | RescaleOp.getPoint2D(Point2D srcPt,
Point2D dstPt)
Returns the location of the destination point given a point in the source. |
Point2D | ColorConvertOp.getPoint2D(Point2D srcPt,
Point2D dstPt)
Returns the location of the destination point given a point in the source. |
Point2D | BandCombineOp.getPoint2D(Point2D srcPt,
Point2D dstPt)
Returns the location of the destination point given a point in the source Raster. |
Point2D | ConvolveOp.getPoint2D(Point2D srcPt,
Point2D dstPt)
Returns the location of the destination point given a point in the source. |
Point2D | AffineTransformOp.getPoint2D(Point2D srcPt,
Point2D dstPt)
Returns the location of the destination point given a point in the source. |
Methods in java.awt.image with parameters of type Point2D | |
Point2D | BufferedImageOp.getPoint2D(Point2D srcPt,
Point2D dstPt)
Returns the location of the destination point given a point in the source image. |
Point2D | LookupOp.getPoint2D(Point2D srcPt,
Point2D dstPt)
Returns the location of the destination point given a point in the source. |
Point2D | RasterOp.getPoint2D(Point2D srcPt,
Point2D dstPt)
Returns the location of the destination point given a point in the source Raster. |
Point2D | RescaleOp.getPoint2D(Point2D srcPt,
Point2D dstPt)
Returns the location of the destination point given a point in the source. |
Point2D | ColorConvertOp.getPoint2D(Point2D srcPt,
Point2D dstPt)
Returns the location of the destination point given a point in the source. |
Point2D | BandCombineOp.getPoint2D(Point2D srcPt,
Point2D dstPt)
Returns the location of the destination point given a point in the source Raster. |
Point2D | ConvolveOp.getPoint2D(Point2D srcPt,
Point2D dstPt)
Returns the location of the destination point given a point in the source. |
Point2D | AffineTransformOp.getPoint2D(Point2D srcPt,
Point2D dstPt)
Returns the location of the destination point given a point in the source. |
|
Java Platform 1.2 Beta 4 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |