Package | Description |
---|---|
com.sun.javafx.font | |
com.sun.javafx.font.coretext | |
com.sun.javafx.font.directwrite | |
com.sun.javafx.geom | |
com.sun.javafx.geom.transform | |
com.sun.javafx.iio.common | |
com.sun.javafx.scene.text | |
com.sun.javafx.sg.prism | |
com.sun.javafx.text | |
com.sun.javafx.util | |
com.sun.prism.impl.ps | |
com.sun.scenario.effect | |
com.sun.scenario.effect.impl.prism | |
javafx.scene |
Provides the core set of base
classes for the JavaFX Scene Graph API.
|
Modifier and Type | Method and Description |
---|---|
int |
CompositeStrike.getQuantizedPosition(Point2D point) |
int |
FontStrike.getQuantizedPosition(Point2D point)
Modifies the point argument to the quantized position suitable for the
underlying glyph rasterizer.
|
int |
PrismFontStrike.getQuantizedPosition(Point2D point) |
Modifier and Type | Method and Description |
---|---|
int |
CTFontStrike.getQuantizedPosition(Point2D point) |
Modifier and Type | Method and Description |
---|---|
int |
DWFontStrike.getQuantizedPosition(Point2D point) |
Modifier and Type | Method and Description |
---|---|
Point2D |
CubicCurve2D.eval(float t)
Evaluates this cubic curve at the given parameter value, where
it is expected, but not required, that the parameter will be
between 0 and 1.
|
Point2D |
CubicCurve2D.evalDt(float t)
Evaluates the derivative of this cubic curve at the given
parameter value, where it is expected, but not required, that
the parameter will be between 0 and 1.
|
Point2D |
Path2D.getCurrentPoint()
Returns the coordinates most recently added to the end of the path
as a
Point2D object. |
Point2D |
Arc2D.getEndPoint()
Returns the ending point of the arc.
|
(package private) Point2D |
Path2D.getPoint(int coordindex) |
Point2D |
Arc2D.getStartPoint()
Returns the starting point of the arc.
|
Point2D |
PickRay.projectToZeroPlane(BaseTransform inversetx,
boolean perspective,
Vec3d tmpvec,
Point2D ret)
Project the ray through the specified (inverted) transform and
onto the Z=0 plane of the resulting coordinate system.
|
protected Point2D |
TransformedShape.untransform(float x,
float y) |
Modifier and Type | Method and Description |
---|---|
abstract void |
BaseBounds.add(Point2D p) |
void |
BoxBounds.add(Point2D p) |
void |
RectBounds.add(Point2D p) |
static boolean |
Path2D.contains(PathIterator pi,
Point2D p)
Tests if the specified
Point2D is inside the closed
boundary of the specified PathIterator . |
boolean |
Area.contains(Point2D p)
Tests if a specified
Point2D is inside the boundary
of the Shape . |
abstract boolean |
BaseBounds.contains(Point2D p) |
boolean |
BoxBounds.contains(Point2D p) |
boolean |
CubicCurve2D.contains(Point2D p)
Tests if a specified
Point2D is inside the boundary
of the Shape . |
boolean |
Line2D.contains(Point2D p) |
boolean |
Path2D.contains(Point2D p)
Tests if a specified
Point2D is inside the boundary
of the Shape . |
boolean |
QuadCurve2D.contains(Point2D p)
Tests if a specified
Point2D is inside the boundary
of the Shape . |
boolean |
RectBounds.contains(Point2D p) |
boolean |
RectangularShape.contains(Point2D p)
Tests if a specified
Point2D is inside the boundary
of the Shape . |
boolean |
Shape.contains(Point2D p)
Tests if a specified
Point2D is inside the boundary
of the Shape . |
float |
Point2D.distance(Point2D pt)
Returns the distance from this
Point2D to a
specified Point2D . |
float |
Point2D.distanceSq(Point2D pt)
Returns the square of the distance from this
Point2D to a specified Point2D . |
void |
CubicCurve2D.eval(float td,
Point2D result)
Evaluates this cubic curve at the given parameter value, where
it is expected, but not required, that the parameter will be
between 0 and 1.
|
void |
CubicCurve2D.evalDt(float td,
Point2D result)
Evaluates the derivative of this cubic curve at the given
parameter value, where it is expected, but not required, that
the parameter will be between 0 and 1.
|
PickRay |
PickRay.project(BaseTransform inversetx,
boolean perspective,
Vec3d tmpvec,
Point2D ret) |
Point2D |
PickRay.projectToZeroPlane(BaseTransform inversetx,
boolean perspective,
Vec3d tmpvec,
Point2D ret)
Project the ray through the specified (inverted) transform and
onto the Z=0 plane of the resulting coordinate system.
|
float |
Line2D.ptLineDist(Point2D pt)
Returns the distance from a
Point2D to this line. |
float |
Line2D.ptLineDistSq(Point2D pt)
Returns the square of the distance from a specified
Point2D to this line. |
float |
Line2D.ptSegDist(Point2D pt)
Returns the distance from a
Point2D to this line
segment. |
float |
Line2D.ptSegDistSq(Point2D pt)
Returns the square of the distance from a
Point2D to
this line segment. |
int |
Line2D.relativeCCW(Point2D p)
Returns an indicator of where the specified
Point2D
lies with respect to this line segment. |
void |
Arc2D.setAngles(Point2D p1,
Point2D p2)
Sets the starting angle and angular extent of this arc using
two points.
|
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.setArc(Point2D loc,
Dimension2D size,
float angSt,
float angExt,
int closure)
Sets the location, size, angular extents, and closure type of
this arc to the specified values.
|
void |
Arc2D.setArcByTangent(Point2D p1,
Point2D p2,
Point2D p3,
float radius)
Sets the position, bounds, and angular extents of this arc to the
specified value.
|
abstract void |
BaseBounds.setBoundsAndSort(Point2D p1,
Point2D p2)
Sets the bounds based on the given points, and also ensures that
after having done so that this bounds instance is sorted (x1<=x2 and y1<=y2).
|
void |
BoxBounds.setBoundsAndSort(Point2D p1,
Point2D p2) |
void |
RectBounds.setBoundsAndSort(Point2D p1,
Point2D p2) |
void |
CubicCurve2D.setCurve(Point2D[] pts,
int offset)
Sets the location of the end points and control points of this curve
to the coordinates of the
Point2D objects at the specified
offset in the specified array. |
void |
QuadCurve2D.setCurve(Point2D[] pts,
int offset)
Sets the location of the end points and control points of this
QuadCurve2D to the coordinates of the
Point2D objects at the specified offset in
the specified array. |
void |
QuadCurve2D.setCurve(Point2D p1,
Point2D cp,
Point2D p2)
Sets the location of the end points and control point of this
QuadCurve2D to the specified Point2D
coordinates. |
void |
CubicCurve2D.setCurve(Point2D p1,
Point2D cp1,
Point2D cp2,
Point2D p2)
Sets the location of the end points and control points of this curve
to the specified
Point2D coordinates. |
void |
RectangularShape.setFrame(Point2D loc,
Dimension2D size)
Sets the location and size of the framing rectangle of this
Shape to the specified Point2D and
Dimension2D , respectively. |
void |
RectangularShape.setFrameFromCenter(Point2D center,
Point2D corner)
Sets the framing rectangle of this
Shape based on a
specified center Point2D and corner
Point2D . |
void |
RectangularShape.setFrameFromDiagonal(Point2D p1,
Point2D p2)
Sets the diagonal of the framing rectangle of this
Shape
based on two specified Point2D objects. |
void |
Line2D.setLine(Point2D p1,
Point2D p2)
Sets the location of the end points of this
Line2D to
the specified Point2D coordinates. |
void |
Point2D.setLocation(Point2D p)
Sets the location of this
Point2D to the same
coordinates as the specified Point2D object. |
Constructor and Description |
---|
Line2D(Point2D p1,
Point2D p2)
Constructs and initializes a
Line2D from the
specified Point2D objects. |
Modifier and Type | Method and Description |
---|---|
Point2D |
Affine2D.deltaTransform(Point2D ptSrc,
Point2D ptDst)
Transforms the relative distance vector specified by
ptSrc and stores the result in ptDst . |
Point2D |
Affine3D.inverseTransform(Point2D src,
Point2D dst) |
Point2D |
AffineBase.inverseTransform(Point2D ptSrc,
Point2D ptDst)
Inverse transforms the specified
ptSrc and stores the
result in ptDst . |
abstract Point2D |
BaseTransform.inverseTransform(Point2D src,
Point2D dst) |
Point2D |
Identity.inverseTransform(Point2D src,
Point2D dst) |
Point2D |
Translate2D.inverseTransform(Point2D src,
Point2D dst) |
(package private) static Point2D |
BaseTransform.makePoint(Point2D src,
Point2D dst) |
Point2D |
AffineBase.transform(Point2D pt) |
Point2D |
AffineBase.transform(Point2D ptSrc,
Point2D ptDst)
Transforms the specified
ptSrc and stores the result
in ptDst . |
abstract Point2D |
BaseTransform.transform(Point2D src,
Point2D dst) |
Point2D |
GeneralTransform3D.transform(Point2D point,
Point2D pointOut)
Transform 2D point (with z == 0)
|
Point2D |
Identity.transform(Point2D src,
Point2D dst) |
Point2D |
Translate2D.transform(Point2D src,
Point2D dst) |
Modifier and Type | Method and Description |
---|---|
Point2D |
Affine2D.deltaTransform(Point2D ptSrc,
Point2D ptDst)
Transforms the relative distance vector specified by
ptSrc and stores the result in ptDst . |
Point2D |
Affine3D.inverseTransform(Point2D src,
Point2D dst) |
Point2D |
AffineBase.inverseTransform(Point2D ptSrc,
Point2D ptDst)
Inverse transforms the specified
ptSrc and stores the
result in ptDst . |
abstract Point2D |
BaseTransform.inverseTransform(Point2D src,
Point2D dst) |
Point2D |
Identity.inverseTransform(Point2D src,
Point2D dst) |
Point2D |
Translate2D.inverseTransform(Point2D src,
Point2D dst) |
(package private) static Point2D |
BaseTransform.makePoint(Point2D src,
Point2D dst) |
Point2D |
AffineBase.transform(Point2D pt) |
void |
Affine2D.transform(Point2D[] ptSrc,
int srcOff,
Point2D[] ptDst,
int dstOff,
int numPts)
Transforms an array of point objects by this transform.
|
void |
Affine2D.transform(Point2D[] ptSrc,
int srcOff,
Point2D[] ptDst,
int dstOff,
int numPts)
Transforms an array of point objects by this transform.
|
Point2D |
AffineBase.transform(Point2D ptSrc,
Point2D ptDst)
Transforms the specified
ptSrc and stores the result
in ptDst . |
abstract Point2D |
BaseTransform.transform(Point2D src,
Point2D dst) |
Point2D |
GeneralTransform3D.transform(Point2D point,
Point2D pointOut)
Transform 2D point (with z == 0)
|
Point2D |
Identity.transform(Point2D src,
Point2D dst) |
Point2D |
Translate2D.transform(Point2D src,
Point2D dst) |
Modifier and Type | Method and Description |
---|---|
static int[] |
ImageTools.computeUpdatedPixels(Rectangle sourceRegion,
Point2D destinationOffset,
int dstMinX,
int dstMinY,
int dstMaxX,
int dstMaxY,
int sourceXSubsampling,
int sourceYSubsampling,
int passXStart,
int passYStart,
int passWidth,
int passHeight,
int passPeriodX,
int passPeriodY)
A utility method that computes the exact set of destination
pixels that will be written during a particular decoding pass.
|
Modifier and Type | Method and Description |
---|---|
Point2D |
GlyphList.getLocation()
The top-left location of the GlyphList relative to
the origin of the Text Layout.
|
Modifier and Type | Field and Description |
---|---|
private static Point2D[] |
NGNode.TEMP_POINTS2D_4 |
Modifier and Type | Method and Description |
---|---|
private static int |
NGNode.ccw(double px,
double py,
Point2D a,
Point2D b) |
private static boolean |
NGNode.pointInConvexQuad(double x,
double y,
Point2D[] rect) |
Modifier and Type | Field and Description |
---|---|
(package private) Point2D |
TextRun.location |
Modifier and Type | Method and Description |
---|---|
Point2D |
TextRun.getLocation() |
Modifier and Type | Field and Description |
---|---|
Point2D |
TempState.point
A temporary point used for picking and other purposes.
|
Modifier and Type | Method and Description |
---|---|
(package private) static PickRay |
PaintHelper.project(float x,
float y,
NGCamera cam,
BaseTransform inv,
PickRay tmpray,
Vec3d tmpvec,
Point2D ret) |
Modifier and Type | Field and Description |
---|---|
private Point2D |
Identity.loc |
Modifier and Type | Method and Description |
---|---|
Point2D |
Identity.getLocation()
Returns the location of the source image, relative to the untransformed
source content bounds.
|
Point2D |
Blend.transform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the primary content input to the coordinate space of the effect
output. |
Point2D |
Bloom.transform(Point2D p,
Effect defaultInput) |
Point2D |
Crop.transform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the primary content input to the coordinate space of the effect
output. |
Point2D |
DelegateEffect.transform(Point2D p,
Effect defaultInput) |
Point2D |
DisplacementMap.transform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the primary content input to the coordinate space of the effect
output. |
Point2D |
Effect.transform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the primary content input to the coordinate space of the effect
output. |
Point2D |
FilterEffect.transform(Point2D p,
Effect defaultInput) |
Point2D |
Flood.transform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the primary content input to the coordinate space of the effect
output. |
Point2D |
Glow.transform(Point2D p,
Effect defaultInput) |
Point2D |
InnerShadow.transform(Point2D p,
Effect defaultInput) |
Point2D |
Merge.transform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the primary content input to the coordinate space of the effect
output. |
Point2D |
Offset.transform(Point2D p,
Effect defaultInput) |
Point2D |
PerspectiveTransform.transform(Point2D p,
Effect defaultInput) |
Point2D |
PhongLighting.transform(Point2D p,
Effect defaultInput) |
Point2D |
Reflection.transform(Point2D p,
Effect defaultInput) |
Point2D |
Blend.untransform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the output of the effect into the coordinate space of the
primary content input. |
Point2D |
Bloom.untransform(Point2D p,
Effect defaultInput) |
Point2D |
Crop.untransform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the output of the effect into the coordinate space of the
primary content input. |
Point2D |
DelegateEffect.untransform(Point2D p,
Effect defaultInput) |
Point2D |
DisplacementMap.untransform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the output of the effect into the coordinate space of the
primary content input. |
Point2D |
Effect.untransform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the output of the effect into the coordinate space of the
primary content input. |
Point2D |
FilterEffect.untransform(Point2D p,
Effect defaultInput) |
Point2D |
Flood.untransform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the output of the effect into the coordinate space of the
primary content input. |
Point2D |
Glow.untransform(Point2D p,
Effect defaultInput) |
Point2D |
InnerShadow.untransform(Point2D p,
Effect defaultInput) |
Point2D |
Merge.untransform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the output of the effect into the coordinate space of the
primary content input. |
Point2D |
Offset.untransform(Point2D p,
Effect defaultInput) |
Point2D |
PerspectiveTransform.untransform(Point2D p,
Effect defaultInput) |
Point2D |
PhongLighting.untransform(Point2D p,
Effect defaultInput) |
Point2D |
Reflection.untransform(Point2D p,
Effect defaultInput) |
Modifier and Type | Method and Description |
---|---|
void |
Identity.setLocation(Point2D pt)
Sets the location of the source image, relative to the untransformed
source content bounds.
|
Point2D |
Blend.transform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the primary content input to the coordinate space of the effect
output. |
Point2D |
Bloom.transform(Point2D p,
Effect defaultInput) |
Point2D |
Crop.transform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the primary content input to the coordinate space of the effect
output. |
Point2D |
DelegateEffect.transform(Point2D p,
Effect defaultInput) |
Point2D |
DisplacementMap.transform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the primary content input to the coordinate space of the effect
output. |
Point2D |
Effect.transform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the primary content input to the coordinate space of the effect
output. |
Point2D |
FilterEffect.transform(Point2D p,
Effect defaultInput) |
Point2D |
Flood.transform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the primary content input to the coordinate space of the effect
output. |
Point2D |
Glow.transform(Point2D p,
Effect defaultInput) |
Point2D |
InnerShadow.transform(Point2D p,
Effect defaultInput) |
Point2D |
Merge.transform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the primary content input to the coordinate space of the effect
output. |
Point2D |
Offset.transform(Point2D p,
Effect defaultInput) |
Point2D |
PerspectiveTransform.transform(Point2D p,
Effect defaultInput) |
Point2D |
PhongLighting.transform(Point2D p,
Effect defaultInput) |
Point2D |
Reflection.transform(Point2D p,
Effect defaultInput) |
Point2D |
Blend.untransform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the output of the effect into the coordinate space of the
primary content input. |
Point2D |
Bloom.untransform(Point2D p,
Effect defaultInput) |
Point2D |
Crop.untransform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the output of the effect into the coordinate space of the
primary content input. |
Point2D |
DelegateEffect.untransform(Point2D p,
Effect defaultInput) |
Point2D |
DisplacementMap.untransform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the output of the effect into the coordinate space of the
primary content input. |
Point2D |
Effect.untransform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the output of the effect into the coordinate space of the
primary content input. |
Point2D |
FilterEffect.untransform(Point2D p,
Effect defaultInput) |
Point2D |
Flood.untransform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the output of the effect into the coordinate space of the
primary content input. |
Point2D |
Glow.untransform(Point2D p,
Effect defaultInput) |
Point2D |
InnerShadow.untransform(Point2D p,
Effect defaultInput) |
Point2D |
Merge.untransform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the output of the effect into the coordinate space of the
primary content input. |
Point2D |
Offset.untransform(Point2D p,
Effect defaultInput) |
Point2D |
PerspectiveTransform.untransform(Point2D p,
Effect defaultInput) |
Point2D |
PhongLighting.untransform(Point2D p,
Effect defaultInput) |
Point2D |
Reflection.untransform(Point2D p,
Effect defaultInput) |
Modifier and Type | Method and Description |
---|---|
(package private) static Point2D |
PrEffectHelper.project(float x,
float y,
double vw,
double vh,
NGCamera cam,
BaseTransform inv,
PickRay tmpray,
Vec3d tmpvec,
Point2D ret) |
Modifier and Type | Method and Description |
---|---|
(package private) static Rectangle |
PrEffectHelper.clipbounds(Point2D cul,
Point2D cur,
Point2D cll,
Point2D clr) |
(package private) static Point2D |
PrEffectHelper.project(float x,
float y,
double vw,
double vh,
NGCamera cam,
BaseTransform inv,
PickRay tmpray,
Vec3d tmpvec,
Point2D ret) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
Node.localToParent(Point2D pt)
Transforms in place the specified point from local coords to parent
coords.
|
(package private) void |
Node.localToScene(Point2D pt) |
(package private) void |
Node.parentToLocal(Point2D pt)
Transforms in place the specified point from parent coords to local
coords.
|
(package private) void |
Node.sceneToLocal(Point2D pt) |