Class ShapeDuplicator<T extends javafx.scene.shape.Shape>

java.lang.Object
org.fulib.fx.duplicate.duplicators.NodeDuplicator<T>
org.fulib.fx.duplicate.duplicators.ShapeDuplicator<T>
All Implemented Interfaces:
Duplicator<T>
Direct Known Subclasses:
TextDuplicator

public abstract class ShapeDuplicator<T extends javafx.scene.shape.Shape> extends NodeDuplicator<T>
  • Constructor Details

    • ShapeDuplicator

      public ShapeDuplicator()
  • Method Details

    • duplicate

      public T duplicate(T shape)
      Description copied from interface: Duplicator
      Duplicates the given object.
      Specified by:
      duplicate in interface Duplicator<T extends javafx.scene.shape.Shape>
      Overrides:
      duplicate in class NodeDuplicator<T extends javafx.scene.shape.Shape>
      Parameters:
      shape - The object to duplicate
      Returns:
      The duplicated object