com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IMotionPath

  • All Superinterfaces:
    com.aspose.ms.System.Collections.IEnumerable<IMotionCmdPath>, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IMotionCmdPath>, java.lang.Iterable<IMotionCmdPath>
    All Known Implementing Classes:
    MotionPath


    public interface IMotionPath
    extends com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IMotionCmdPath>

    Represent motion path.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      IMotionCmdPath add(int type, java.awt.geom.Point2D.Float[] pts, int ptsType, boolean bRelativeCoord)
      Add new command to path
      void clear()
      Removes all commands from the collection.
      IMotionCmdPath get_Item(int index)
      Returns a command at the specified index.
      int getCount()
      Returns the number of paths in the collection.
      void insert(int index, int type, java.awt.geom.Point2D.Float[] pts, int ptsType, boolean bRelativeCoord)
      Insert new command to path
      void remove(IMotionCmdPath item)
      Removes specified commans from the collection.
      void removeAt(int index)
      Removes a command at the specified index.
      • Methods inherited from interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable

        iterator
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Method Detail

      • add

        IMotionCmdPath add(int type,
                           java.awt.geom.Point2D.Float[] pts,
                           int ptsType,
                           boolean bRelativeCoord)

        Add new command to path

        Parameters:
        type - Type of command for animation motion effect behavior MotionCommandPathType
        pts - Points array java.awt.geom.Point2D.Float[]
        ptsType - Type of points in animation motion path MotionPathPointsType
        bRelativeCoord - Indicates whether to use relative coordinates or not boolean
        Returns:
        Command of a path IMotionCmdPath
      • getCount

        int getCount()

        Returns the number of paths in the collection. Read-only int.

      • insert

        void insert(int index,
                    int type,
                    java.awt.geom.Point2D.Float[] pts,
                    int ptsType,
                    boolean bRelativeCoord)

        Insert new command to path

        Parameters:
        index - Index for command insertion int
        type - Type of command for animation motion effect behavior MotionCommandPathType
        pts - Points array java.awt.geom.Point2D.Float[]
        ptsType - Type of points in animation motion path MotionPathPointsType
        bRelativeCoord - Indicates whether to use relative coordinates or not boolean
      • clear

        void clear()

        Removes all commands from the collection.

      • remove

        void remove(IMotionCmdPath item)

        Removes specified commans from the collection.

        Parameters:
        item - Motion path to remove IMotionCmdPath
      • removeAt

        void removeAt(int index)

        Removes a command at the specified index.

        Parameters:
        index - Index for removing command int
      • get_Item

        IMotionCmdPath get_Item(int index)

        Returns a command at the specified index.

        Parameters:
        index - Index of element.
        Returns:
        Command at specified index IMotionCmdPath