Package | Description |
---|---|
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 |
---|---|
Transform |
Node.getLocalToParentTransform()
Gets the value of the property localToParentTransform.
|
Transform |
Node.getLocalToSceneTransform()
Gets the value of the property localToSceneTransform.
|
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.
|
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 |
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.
|
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.
|
Constructor and Description |
---|
Affine(Transform transform)
Creates a new instance of
Affine filled with the values from
the specified transform. |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2008, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.