Class RMMorphShape

    • Constructor Detail

      • RMMorphShape

        public RMMorphShape()
    • Method Detail

      • getMorphing

        public float getMorphing()
        Returns the morph factor.
      • setMorphing

        public void setMorphing​(float aValue)
        Sets the morph factor.
      • getShapeCount

        public int getShapeCount()
        Returns the number of shapes to morph.
      • getShape

        public RMShape getShape​(int anIndex)
        Returns the indivudal sahpe at given index.
      • addShape

        public void addShape​(RMShape aShape)
        Adds a shape to shapes list.
      • getMorphingShapeIndex

        public int getMorphingShapeIndex()
        Returns the index of the morphing shape for the current morphing value.
      • getMorphingShape

        public RMMorphShape.Morphing2D getMorphingShape​(int anIndex)
        Returns the morphing at the given index.
      • getPath

        public RMPath getPath()
        Returns the morph path for this shape.
        Overrides:
        getPath in class RMShape