Utility class, which provides a basic functionality for object duplication (cloning). It recognizes objects that are supported by the FXD format.
- public duplicate(obj: java.lang.Object) : java.lang.Object
Duplicates the given object.
Duplicates the given object. Although object is the argument and return value of this function, it currently recognizes only classes which are supported by the FXD format, such as classes extending javafx.scene.Node or javafx.scene.effect.Effect
- object to duplicate
- Object duplicated object.
- public duplicate(node: javafx.scene.Node) : javafx.scene.Node