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 | Method and Description |
---|---|
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 |
---|---|
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 |
Node.getLocalToParentTransform() |
Transform |
Node.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 . |
ReadOnlyObjectProperty<Transform> |
Node.localToParentTransformProperty()
An affine transform that holds the computed local-to-parent transform.
|
ReadOnlyObjectProperty<Transform> |
Node.localToSceneTransformProperty()
An affine transform that holds the computed local-to-scene transform.
|
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
B |
NodeBuilder.transforms(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 | Method and Description |
---|---|
Transform |
Transform.clone()
Returns a deep copy of this transform.
|
Transform |
Translate.createConcatenation(Transform transform) |
Transform |
Transform.createConcatenation(Transform transform)
Returns the concatenation of this transform and the specified transform.
|
Transform |
Shear.createConcatenation(Transform transform) |
Transform |
Scale.createConcatenation(Transform transform) |
Transform |
Rotate.createConcatenation(Transform transform) |
Transform |
Affine.createConcatenation(Transform transform) |
Transform |
Transform.createInverse()
Returns the inverse transform of this transform.
|
Transform |
Shear.createInverse() |
Transform |
Rotate.createInverse() |
Modifier and Type | Method and Description |
---|---|
void |
Affine.append(Transform transform)
Appends the specified transform to this instance.
|
Transform |
Translate.createConcatenation(Transform transform) |
Transform |
Transform.createConcatenation(Transform transform)
Returns the concatenation of this transform and the specified transform.
|
Transform |
Shear.createConcatenation(Transform transform) |
Transform |
Scale.createConcatenation(Transform transform) |
Transform |
Rotate.createConcatenation(Transform transform) |
Transform |
Affine.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.
|
Constructor and Description |
---|
Affine(Transform transform)
Creates a new instance of
Affine filled with the values from
the specified transform. |
Copyright © 2020. All rights reserved.