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 commands 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 - MotionCommandPathType
        pts - Array of points
        ptsType - MotionPathPointsType
        bRelativeCoord - Relative coordinates boolean
      • 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 - The zero-based index at which item should be inserted.
        type - MotionCommandPathType
        pts - Array of points
        ptsType - MotionPathPointsType
        bRelativeCoord - Relative coordinates boolean
      • clear

        void clear()

        Removes all commands from the collection.

      • remove

        void remove(IMotionCmdPath item)

        Removes specified commands from the collection.

        Parameters:
        item - Motion path to remove.
      • removeAt

        void removeAt(int index)

        Removes a command at the specified index.

        Parameters:
        index - Index of a command that should be deleted.
      • get_Item

        IMotionCmdPath get_Item(int index)

        Returns a command at the specified index.

        Parameters:
        index - Index of element.
        Returns:
        The IMotionCmdPath object.