Class AnimationPath2DFactory

All Implemented Interfaces:
Cloneable

public class AnimationPath2DFactory extends AbstrAnimPath2DFactory<AnimationPath2D>
Factory for AnimationPath2D objects.

This provides the same parameters and object-initialization methods as AbstrAnimPath2DFactory.

Paths are described by a sequence of control points, represented by a cpoint table with an integer key. The parameter cpoint.type has a value that is an enumeration constant whose type is SplinePathBuilder.CPointType As one increments the key, the following transition diagram shows the sequence of allowed values for this type:

UML Diagram
The parameters this factory supports are shown in the following table (the documentation for cpoint.type describes which "object" parameters are used for a given type):
See Also:
  • Constructor Details

    • AnimationPath2DFactory

      public AnimationPath2DFactory(Animation2D a2d)
      Constructor.
      Parameters:
      a2d - the animation associated with this factory
    • AnimationPath2DFactory

      public AnimationPath2DFactory()
      Constructor for service provider. This constructor should not be used directly. It is necessary because of the introduction of modules in Java 9, and is used by a service provider that allows factories to be listed, possibly with documentation regarding their parameters. It jst calls the default constructor with a null argument.
  • Method Details