Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: AnimatedPath

[14:7] extends: AnimatedValue

Wraps FXGL's AnimatedPath, an AnimatedValue subclass that samples points along an arbitrary JavaFX Shape. Internally uses a PathTransition to discretize the shape into 100 sample points at construction.

Methods

  • AnimatedPath (ShapeObj = null)

    Creates a new AnimatedPath from a JavaFX Shape.

    • @p ShapeObj is an AussomJavaObject around a javafx.scene.shape.Shape.