Package | Description |
---|---|
com.sun.javafx.scene.transform | |
javafx.scene |
Provides the core set of base
classes for the JavaFX Scene Graph API.
|
javafx.scene.transform |
Provides the set of convenient classes to perform rotating, scaling,
shearing, and translation transformations for
Affine objects. |
Modifier and Type | Class and Description |
---|---|
(package private) static class |
TransformUtils.ImmutableTransform
Immutable transformation with performance optimizations based on Affine.
|
Modifier and Type | Method and Description |
---|---|
Transform |
TransformUtils.ImmutableTransform.clone() |
Transform |
TransformUtils.ImmutableTransform.createConcatenation(Transform transform) |
static Transform |
TransformUtils.immutableTransform(double mxx,
double mxy,
double mxz,
double tx,
double myx,
double myy,
double myz,
double ty,
double mzx,
double mzy,
double mzz,
double tz)
Creates an immutable arbitrary transformation.
|
static Transform |
TransformUtils.immutableTransform(Transform t)
Creates an immutable transformation filled with current values
from the given transformation.
|
static Transform |
TransformUtils.immutableTransform(Transform reuse,
double mxx,
double mxy,
double mxz,
double tx,
double myx,
double myy,
double myz,
double ty,
double mzx,
double mzy,
double mzz,
double tz)
Creates an immutable arbitrary transformation.
|
static Transform |
TransformUtils.immutableTransform(Transform reuse,
Transform t)
Creates an immutable transformation filled with current values
from the given transformation.
|
static Transform |
TransformUtils.immutableTransform(Transform reuse,
Transform left,
Transform right)
Creates an immutable transformation filled with concatenation
of the given transformations.
|
Modifier and Type | Method and Description |
---|---|
Transform |
TransformUtils.ImmutableTransform.createConcatenation(Transform transform) |
static Transform |
TransformUtils.immutableTransform(Transform t)
Creates an immutable transformation filled with current values
from the given transformation.
|
static Transform |
TransformUtils.immutableTransform(Transform reuse,
double mxx,
double mxy,
double mxz,
double tx,
double myx,
double myy,
double myz,
double ty,
double mzx,
double mzy,
double mzz,
double tz)
Creates an immutable arbitrary transformation.
|
static Transform |
TransformUtils.immutableTransform(Transform reuse,
Transform t)
Creates an immutable transformation filled with current values
from the given transformation.
|
static Transform |
TransformUtils.immutableTransform(Transform reuse,
Transform left,
Transform right)
Creates an immutable transformation filled with concatenation
of the given transformations.
|
Constructor and Description |
---|
ImmutableTransform(Transform transform) |
Modifier and Type | Field and Description |
---|---|
private Transform |
SnapshotParametersBuilder.transform
Deprecated.
|
private Transform |
Node.LazyTransformProperty.transform |
private Transform |
SnapshotParameters.transform |
Modifier and Type | Field and Description |
---|---|
private ExpressionHelper<Transform> |
Node.LazyTransformProperty.helper |
private java.util.Collection<? extends Transform> |
NodeBuilder.transforms
Deprecated.
|
private ObservableList<Transform> |
Node.NodeTransformation.transforms |
Modifier and Type | Method and Description |
---|---|
protected Transform |
Node.NodeTransformation.LocalToSceneTransformProperty.computeTransform(Transform reuse) |
protected abstract Transform |
Node.LazyTransformProperty.computeTransform(Transform reuse) |
Transform |
Node.LazyTransformProperty.get() |
(package private) Transform |
Node.getCurrentLocalToSceneTransformState() |
protected Transform |
Node.LazyTransformProperty.getInternalValue() |
Transform |
Node.getLocalToParentTransform() |
Transform |
Node.NodeTransformation.getLocalToParentTransform() |
Transform |
Node.getLocalToSceneTransform() |
Transform |
Node.NodeTransformation.getLocalToSceneTransform() |
Transform |
SnapshotParameters.getTransform()
Gets the current transform.
|
Modifier and Type | Method and Description |
---|---|
ObservableList<Transform> |
Node.getTransforms()
Defines the ObservableList of
Transform objects
to be applied to this Node . |
ObservableList<Transform> |
Node.NodeTransformation.getTransforms() |
ReadOnlyObjectProperty<Transform> |
Node.localToParentTransformProperty()
An affine transform that holds the computed local-to-parent transform.
|
ReadOnlyObjectProperty<Transform> |
Node.NodeTransformation.localToParentTransformProperty() |
ReadOnlyObjectProperty<Transform> |
Node.localToSceneTransformProperty()
An affine transform that holds the computed local-to-scene transform.
|
ReadOnlyObjectProperty<Transform> |
Node.NodeTransformation.localToSceneTransformProperty() |
private ObservableList<Transform> |
Node.transformsProperty() |
Modifier and Type | Method and Description |
---|---|
protected Transform |
Node.NodeTransformation.LocalToSceneTransformProperty.computeTransform(Transform reuse) |
protected abstract Transform |
Node.LazyTransformProperty.computeTransform(Transform reuse) |
void |
SnapshotParameters.setTransform(Transform transform)
Sets the transform to the specified value.
|
B |
SnapshotParametersBuilder.transform(Transform x)
Deprecated.
Set the value of the
transform property for the instance constructed by this builder. |
B |
NodeBuilder.transforms(Transform... x)
Deprecated.
Add the given items to the List of items in the
transforms property for the instance constructed by this builder. |
Modifier and Type | Method and Description |
---|---|
void |
Node.NodeTransformation.LocalToSceneTransformProperty.addListener(ChangeListener<? super Transform> listener) |
void |
Node.LazyTransformProperty.addListener(ChangeListener<? super Transform> listener) |
void |
Node.NodeTransformation.LocalToSceneTransformProperty.removeListener(ChangeListener<? super Transform> listener) |
void |
Node.LazyTransformProperty.removeListener(ChangeListener<? super Transform> listener) |
B |
NodeBuilder.transforms(java.util.Collection<? extends Transform> x)
Deprecated.
Add the given items to the List of items in the
transforms property for the instance constructed by this builder. |
Modifier and Type | Class and Description |
---|---|
class |
Affine
The
Affine class represents a general affine transform. |
class |
Rotate
This class represents an
Affine object that rotates coordinates
around an anchor point. |
class |
Scale
This class represents an
Affine object that scales coordinates
by the specified factors. |
class |
Shear
This class represents an
Affine object that shears coordinates
by the specified multipliers. |
class |
Translate
This class represents an
Affine object that translates coordinates
by the specified factors. |
Modifier and Type | Field and Description |
---|---|
private java.lang.ref.SoftReference<Transform> |
Transform.inverseCache
For transforms with expensive inversion we cache the inverted matrix
once it is needed and computed for some operation.
|
Modifier and Type | Method and Description |
---|---|
Transform |
Transform.clone()
Returns a deep copy of this transform.
|
Transform |
Affine.createConcatenation(Transform transform) |
Transform |
Rotate.createConcatenation(Transform transform) |
Transform |
Scale.createConcatenation(Transform transform) |
Transform |
Shear.createConcatenation(Transform transform) |
Transform |
Transform.createConcatenation(Transform transform)
Returns the concatenation of this transform and the specified transform.
|
Transform |
Translate.createConcatenation(Transform transform) |
Transform |
Rotate.createInverse() |
Transform |
Shear.createInverse() |
Transform |
Transform.createInverse()
Returns the inverse transform of this transform.
|
private Transform |
Transform.getInverseCache()
Gets the inverse transform cache.
|
Modifier and Type | Method and Description |
---|---|
void |
Affine.append(Transform transform)
Appends the specified transform to this instance.
|
Transform |
Affine.createConcatenation(Transform transform) |
Transform |
Rotate.createConcatenation(Transform transform) |
Transform |
Scale.createConcatenation(Transform transform) |
Transform |
Shear.createConcatenation(Transform transform) |
Transform |
Transform.createConcatenation(Transform transform)
Returns the concatenation of this transform and the specified transform.
|
Transform |
Translate.createConcatenation(Transform transform) |
void |
Affine.prepend(Transform transform)
Prepends the specified transform to this instance.
|
void |
Affine.setToTransform(Transform transform)
Sets the values of this instance to the values provided by the specified
transform.
|
boolean |
Transform.similarTo(Transform transform,
Bounds range,
double maxDelta)
Checks if this transform is similar to the specified transform.
|
private double |
Transform.transformDiff(Transform t,
double x,
double y)
Transforms the specified point by this transform and by the specified
transform and returns distance of the result points.
|
private double |
Transform.transformDiff(Transform t,
double x,
double y,
double z)
Transforms the specified point by this transform and by the specified
transform and returns distance of the result points.
|
Constructor and Description |
---|
Affine(Transform transform)
Creates a new instance of
Affine filled with the values from
the specified transform. |