Package | Description |
---|---|
com.sun.javafx.geometry | |
com.sun.javafx.scene | |
com.sun.javafx.scene.control.skin | |
com.sun.javafx.scene.input | |
com.sun.javafx.scene.transform | |
com.sun.javafx.util | |
com.sun.javafx.webkit | |
javafx.geometry |
Provides the set of 2D classes for defining and performing operations on
objects related to two-dimensional geometry.
|
javafx.scene |
Provides the core set of base
classes for the JavaFX Scene Graph API.
|
javafx.scene.input |
Provides the set of classes for mouse and keyboard input event handling.
|
javafx.scene.shape |
Provides the set of 2D classes for defining and performing operations on
objects related to two-dimensional geometry.
|
javafx.scene.text |
Provides the set of classes for fonts and renderable Text Node.
|
javafx.scene.transform |
Provides the set of convenient classes to perform rotating, scaling,
shearing, and translation transformations for
Affine objects. |
Modifier and Type | Method and Description |
---|---|
static Bounds |
BoundsUtils.createBoundingBox(Point2D p1,
Point2D p2,
Point2D p3,
Point2D p4) |
static Bounds |
BoundsUtils.createBoundingBox(Point2D p1,
Point2D p2,
Point2D p3,
Point2D p4,
Point2D p5,
Point2D p6,
Point2D p7,
Point2D p8) |
Modifier and Type | Method and Description |
---|---|
private static Point2D |
SceneUtils.computeSubSceneCoordinates(double x,
double y,
SubScene subScene)
Computes subScene local intersection point from the given scene mouse
coordinates.
|
static Point2D |
CameraHelper.pickNodeXYPlane(Camera camera,
Node node,
double x,
double y) |
Point2D |
CameraHelper.CameraAccessor.pickNodeXYPlane(Camera camera,
Node node,
double x,
double y) |
static Point2D |
CameraHelper.project(Camera camera,
Point3D p) |
Point2D |
CameraHelper.CameraAccessor.project(Camera camera,
Point3D p) |
static Point2D |
SceneUtils.sceneToSubScenePlane(SubScene subScene,
Point2D point)
Translates point from scene coordinates to subScene local coordinates.
|
Modifier and Type | Method and Description |
---|---|
static Point2D |
SceneUtils.sceneToSubScenePlane(SubScene subScene,
Point2D point)
Translates point from scene coordinates to subScene local coordinates.
|
Modifier and Type | Field and Description |
---|---|
private Point2D |
SliderSkin.dragStart |
private Point2D |
ScrollBarSkin.dragStart |
Modifier and Type | Method and Description |
---|---|
Point2D |
TextFieldSkin.getMenuPosition() |
Point2D |
TextAreaSkin.getMenuPosition() |
Point2D |
TextInputControlSkin.getMenuPosition() |
private Point2D |
ComboBoxPopupControl.getPrefPopupPosition() |
protected Point2D |
TextFieldSkin.translateCaretPosition(Point2D p) |
private Point2D |
TextAreaSkin.translateCaretPosition(Point2D p) |
Modifier and Type | Method and Description |
---|---|
protected Point2D |
TextFieldSkin.translateCaretPosition(Point2D p) |
private Point2D |
TextAreaSkin.translateCaretPosition(Point2D p) |
Modifier and Type | Field and Description |
---|---|
private Point2D |
PickResultChooser.texCoord |
Modifier and Type | Method and Description |
---|---|
Point2D |
PickResultChooser.getIntersectedTexCoord()
Return the intersected texture coordinates of the picked Node
return new Point2D presenting the intersected TexCoord
|
Modifier and Type | Method and Description |
---|---|
boolean |
PickResultChooser.offer(Node node,
double distance,
int face,
Point3D point,
Point2D texCoord)
Offers an intersection.
|
private boolean |
PickResultChooser.processOffer(Node node,
Node depthTestNode,
double distance,
Point3D point,
int face,
Point3D normal,
Point2D texCoord)
Process an offered intersection.
|
Modifier and Type | Method and Description |
---|---|
Point2D |
TransformUtils.ImmutableTransform.deltaTransform(double x,
double y) |
Point2D |
TransformUtils.ImmutableTransform.inverseDeltaTransform(double x,
double y) |
Point2D |
TransformUtils.ImmutableTransform.inverseTransform(double x,
double y) |
Point2D |
TransformUtils.ImmutableTransform.transform(double x,
double y) |
Modifier and Type | Method and Description |
---|---|
static Point2D |
Utils.pointRelativeTo(Node parent,
double anchorWidth,
double anchorHeight,
HPos hpos,
VPos vpos,
double dx,
double dy,
boolean reposition) |
static Point2D |
Utils.pointRelativeTo(Node parent,
Node node,
HPos hpos,
VPos vpos,
double dx,
double dy,
boolean reposition) |
static Point2D |
Utils.pointRelativeTo(java.lang.Object parent,
double width,
double height,
double screenX,
double screenY,
HPos hpos,
VPos vpos)
This is the fallthrough function that most other functions fall into.
|
Modifier and Type | Method and Description |
---|---|
Point2D |
InputMethodClientImpl.getTextLocation(int offset) |
Modifier and Type | Field and Description |
---|---|
static Point2D |
Point2D.ZERO
Point or vector with both coordinates set to 0.
|
Modifier and Type | Method and Description |
---|---|
Point2D |
Point2D.add(double x,
double y)
Returns a point with the specified coordinates added to the coordinates
of this point.
|
Point2D |
Point2D.add(Point2D point)
Returns a point with the coordinates of the specified point added to the
coordinates of this point.
|
Point2D |
Point2DBuilder.build()
Deprecated.
Make an instance of
Point2D based on the properties set on this builder. |
Point2D |
Point2D.midpoint(double x,
double y)
Returns a point which lies in the middle between this point and the
specified coordinates.
|
Point2D |
Point2D.midpoint(Point2D point)
Returns a point which lies in the middle between this point and the
specified point.
|
Point2D |
Point2D.multiply(double factor)
Returns a point with the coordinates of this point multiplied
by the specified factor
|
Point2D |
Point2D.normalize()
Normalizes the relative magnitude vector represented by this instance.
|
Point2D |
Point2D.subtract(double x,
double y)
Returns a point with the specified coordinates subtracted from
the coordinates of this point.
|
Point2D |
Point2D.subtract(Point2D point)
Returns a point with the coordinates of the specified point subtracted
from the coordinates of this point.
|
Modifier and Type | Method and Description |
---|---|
Point2D |
Point2D.add(Point2D point)
Returns a point with the coordinates of the specified point added to the
coordinates of this point.
|
double |
Point2D.angle(Point2D point)
Computes the angle (in degrees) between the vector represented
by this point and the vector represented by the specified point.
|
double |
Point2D.angle(Point2D p1,
Point2D p2)
Computes the angle (in degrees) between the three points with this point
as a vertex.
|
boolean |
Rectangle2D.contains(Point2D p)
Tests if the specified point is inside the boundary of
Rectangle2D . |
boolean |
BoundingBox.contains(Point2D p)
Tests if the specified point is inside the boundary of
Bounds . |
abstract boolean |
Bounds.contains(Point2D p)
Tests if the specified point is inside the boundary of
Bounds . |
Point3D |
Point2D.crossProduct(Point2D vector)
Computes cross product of the vector represented by this instance
and the specified vector.
|
double |
Point2D.distance(Point2D point)
Computes the distance between this point and the specified
point . |
double |
Point2D.dotProduct(Point2D vector)
Computes dot (scalar) product of the vector represented by this instance
and the specified vector.
|
Point2D |
Point2D.midpoint(Point2D point)
Returns a point which lies in the middle between this point and the
specified point.
|
Point2D |
Point2D.subtract(Point2D point)
Returns a point with the coordinates of the specified point subtracted
from the coordinates of this point.
|
Modifier and Type | Field and Description |
---|---|
private Point2D |
Scene.cursorScenePos |
private Point2D |
Scene.cursorScreenPos |
(package private) Point2D |
Scene.TouchGesture.sceneCoords |
(package private) Point2D |
Scene.TouchGesture.screenCoords |
Modifier and Type | Method and Description |
---|---|
Point2D |
Scene.InputMethodRequestsDelegate.getTextLocation(int offset) |
Point2D |
Node.localToParent(double localX,
double localY)
Transforms a point from the local coordinate space of this
Node
into the coordinate space of its parent. |
Point2D |
Node.localToParent(Point2D localPoint)
Transforms a point from the local coordinate space of this
Node
into the coordinate space of its parent. |
Point2D |
Node.localToScene(double localX,
double localY)
Transforms a point from the local coordinate space of this
Node
into the coordinate space of its scene. |
Point2D |
Node.localToScene(double x,
double y,
boolean rootScene)
Transforms a point from the local coordinate space of this
Node
into the coordinate space of its scene. |
Point2D |
Node.localToScene(Point2D localPoint)
Transforms a point from the local coordinate space of this
Node
into the coordinate space of its scene. |
Point2D |
Node.localToScene(Point2D localPoint,
boolean rootScene)
Transforms a point from the local coordinate space of this
Node
into the coordinate space of its scene. |
Point2D |
Node.localToScreen(double localX,
double localY)
Transforms a point from the local coordinate space of this
Node
into the coordinate space of its Screen . |
Point2D |
Node.localToScreen(double localX,
double localY,
double localZ)
Transforms a point from the local coordinate space of this
Node
into the coordinate space of its Screen . |
Point2D |
Node.localToScreen(Point2D localPoint)
Transforms a point from the local coordinate space of this
Node
into the coordinate space of its Screen . |
Point2D |
Node.localToScreen(Point3D localPoint)
Transforms a point from the local coordinate space of this
Node
into the coordinate space of its Screen . |
Point2D |
Node.parentToLocal(double parentX,
double parentY)
Transforms a point from the coordinate space of the parent into the
local coordinate space of this
Node . |
Point2D |
Node.parentToLocal(Point2D parentPoint)
Transforms a point from the coordinate space of the parent into the
local coordinate space of this
Node . |
private Point2D |
Camera.pickNodeXYPlane(Node node,
double x,
double y)
Computes intersection point of the pick ray cast by the given coordinates
and the node's local XY plane.
|
private Point2D |
Camera.project(Point3D p)
Transforms the given 3D point to the flat projected coordinates.
|
Point2D |
Node.sceneToLocal(double sceneX,
double sceneY)
Transforms a point from the coordinate space of the scene
into the local coordinate space of this
Node . |
Point2D |
Node.sceneToLocal(double x,
double y,
boolean rootScene)
Transforms a point from the coordinate space of the scene
into the local coordinate space of this
Node . |
Point2D |
Node.sceneToLocal(Point2D scenePoint)
Transforms a point from the coordinate space of the scene
into the local coordinate space of this
Node . |
Point2D |
Node.sceneToLocal(Point2D point,
boolean rootScene)
Transforms a point from the coordinate space of the scene
into the local coordinate space of this
Node . |
Point2D |
Node.screenToLocal(double screenX,
double screenY)
Transforms a point from the coordinate space of the
Screen
into the local coordinate space of this Node . |
Point2D |
Node.screenToLocal(Point2D screenPoint)
Transforms a point from the coordinate space of the
Screen
into the local coordinate space of this Node . |
Modifier and Type | Method and Description |
---|---|
boolean |
Node.contains(Point2D localPoint)
Returns
true if the given point (specified in the local
coordinate space of this Node ) is contained within the shape of
this Node . |
Point2D |
Node.localToParent(Point2D localPoint)
Transforms a point from the local coordinate space of this
Node
into the coordinate space of its parent. |
Point2D |
Node.localToScene(Point2D localPoint)
Transforms a point from the local coordinate space of this
Node
into the coordinate space of its scene. |
Point2D |
Node.localToScene(Point2D localPoint,
boolean rootScene)
Transforms a point from the local coordinate space of this
Node
into the coordinate space of its scene. |
Point2D |
Node.localToScreen(Point2D localPoint)
Transforms a point from the local coordinate space of this
Node
into the coordinate space of its Screen . |
Point2D |
Node.parentToLocal(Point2D parentPoint)
Transforms a point from the coordinate space of the parent into the
local coordinate space of this
Node . |
Point2D |
Node.sceneToLocal(Point2D scenePoint)
Transforms a point from the coordinate space of the scene
into the local coordinate space of this
Node . |
Point2D |
Node.sceneToLocal(Point2D point,
boolean rootScene)
Transforms a point from the coordinate space of the scene
into the local coordinate space of this
Node . |
Point2D |
Node.screenToLocal(Point2D screenPoint)
Transforms a point from the coordinate space of the
Screen
into the local coordinate space of this Node . |
Modifier and Type | Field and Description |
---|---|
private Point2D |
PickResult.texCoord |
Modifier and Type | Method and Description |
---|---|
Point2D |
PickResult.getIntersectedTexCoord()
Return the intersected texture coordinates of the picked 3d shape.
|
Point2D |
InputMethodRequests.getTextLocation(int offset)
Gets the location of a specified offset in the current composed text,
or of the selection in committed text.
|
Constructor and Description |
---|
PickResult(Node node,
Point3D point,
double distance,
int face,
Point2D texCoord)
Creates a new instance of PickResult.
|
PickResult(Node node,
Point3D point,
double distance,
int face,
Point3D normal,
Point2D texCoord)
Creates a new instance of PickResult.
|
Modifier and Type | Method and Description |
---|---|
private Point2D |
TriangleMesh.computeCentroid(Point2D v0,
Point2D v1,
Point2D v2)
Computes the centroid of the given triangle
|
Modifier and Type | Method and Description |
---|---|
private Point2D |
TriangleMesh.computeCentroid(Point2D v0,
Point2D v1,
Point2D v2)
Computes the centroid of the given triangle
|
Modifier and Type | Method and Description |
---|---|
HitInfo |
Text.impl_hitTestChar(Point2D point)
Deprecated.
This is an internal API that is not intended
for use and will be removed in the next version
|
Modifier and Type | Method and Description |
---|---|
Point2D |
Rotate.deltaTransform(double x,
double y) |
Point2D |
Scale.deltaTransform(double x,
double y) |
Point2D |
Translate.deltaTransform(double x,
double y) |
Point2D |
Affine.deltaTransform(double x,
double y) |
Point2D |
Transform.deltaTransform(double x,
double y)
Transforms the relative magnitude vector by this transform.
|
Point2D |
Shear.deltaTransform(double x,
double y) |
Point2D |
Translate.deltaTransform(Point2D point) |
Point2D |
Transform.deltaTransform(Point2D point)
Transforms the relative magnitude vector represented by the specified
Point2D instance by this transform. |
Point2D |
Rotate.inverseDeltaTransform(double x,
double y) |
Point2D |
Scale.inverseDeltaTransform(double x,
double y) |
Point2D |
Translate.inverseDeltaTransform(double x,
double y) |
Point2D |
Affine.inverseDeltaTransform(double x,
double y) |
Point2D |
Transform.inverseDeltaTransform(double x,
double y)
Transforms the relative magnitude vector by the inverse of this transform.
|
Point2D |
Shear.inverseDeltaTransform(double x,
double y) |
Point2D |
Translate.inverseDeltaTransform(Point2D point) |
Point2D |
Transform.inverseDeltaTransform(Point2D point)
Transforms the relative magnitude vector represented by the specified
Point2D instance by the inverse of this transform. |
Point2D |
Rotate.inverseTransform(double x,
double y) |
Point2D |
Scale.inverseTransform(double x,
double y) |
Point2D |
Translate.inverseTransform(double x,
double y) |
Point2D |
Affine.inverseTransform(double x,
double y) |
Point2D |
Transform.inverseTransform(double x,
double y)
Transforms the specified point by the inverse of this transform.
|
Point2D |
Shear.inverseTransform(double x,
double y) |
Point2D |
Transform.inverseTransform(Point2D point)
Transforms the specified point by the inverse of this transform.
|
Point2D |
Rotate.transform(double x,
double y) |
Point2D |
Scale.transform(double x,
double y) |
Point2D |
Translate.transform(double x,
double y) |
Point2D |
Affine.transform(double x,
double y) |
Point2D |
Transform.transform(double x,
double y)
Transforms the specified point by this transform.
|
Point2D |
Shear.transform(double x,
double y) |
Point2D |
Transform.transform(Point2D point)
Transforms the specified point by this transform.
|
Modifier and Type | Method and Description |
---|---|
void |
Affine.appendRotation(double angle,
Point2D pivot)
Appends the 2D rotation with pivot to this instance.
|
void |
Affine.appendScale(double sx,
double sy,
Point2D pivot)
Appends the 2D scale with pivot to this instance.
|
void |
Affine.appendShear(double shx,
double shy,
Point2D pivot)
Appends the shear with pivot to this instance.
|
Point2D |
Translate.deltaTransform(Point2D point) |
Point2D |
Transform.deltaTransform(Point2D point)
Transforms the relative magnitude vector represented by the specified
Point2D instance by this transform. |
Point2D |
Translate.inverseDeltaTransform(Point2D point) |
Point2D |
Transform.inverseDeltaTransform(Point2D point)
Transforms the relative magnitude vector represented by the specified
Point2D instance by the inverse of this transform. |
Point2D |
Transform.inverseTransform(Point2D point)
Transforms the specified point by the inverse of this transform.
|
void |
Affine.prependRotation(double angle,
Point2D pivot)
Prepends the 2D rotation with pivot to this instance.
|
void |
Affine.prependScale(double sx,
double sy,
Point2D pivot)
Prepends the 2D scale with pivot to this instance.
|
void |
Affine.prependShear(double shx,
double shy,
Point2D pivot)
Prepends the shear with pivot to this instance.
|
Point2D |
Transform.transform(Point2D point)
Transforms the specified point by this transform.
|