com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class MotionPath

  • java.lang.Object
    • com.aspose.slides.MotionPath
    • Constructor Summary

      Constructors 
      Constructor and Description
      MotionPath() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      IMotionCmdPath add(int type, android.graphics.PointF[] 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, android.graphics.PointF[] pts, int ptsType, boolean bRelativeCoord)
      Insert new command to path
      com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IMotionCmdPath> iterator()
      Returns an enumerator that iterates through the collection.
      com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IMotionCmdPath> iteratorJava()
      Returns a java iterator for the entire collection.
      void remove(IMotionCmdPath item)
      Removes specified commans from the collection.
      void removeAt(int index)
      Removes a command at the specified index.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Constructor Detail

      • MotionPath

        public MotionPath()
    • Method Detail

      • add

        public final IMotionCmdPath add(int type,
                                        android.graphics.PointF[] pts,
                                        int ptsType,
                                        boolean bRelativeCoord)

        Add new command to path

        Specified by:
        add in interface IMotionPath
        Parameters:
        type - MotionCommandPathType
        pts - Array of points
        ptsType - MotionPathPointsType
        bRelativeCoord - Relative coordinates boolean
        Returns:
        Command of a path IMotionCmdPath
      • getCount

        public final int getCount()

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

        Specified by:
        getCount in interface IMotionPath
      • insert

        public final void insert(int index,
                                 int type,
                                 android.graphics.PointF[] pts,
                                 int ptsType,
                                 boolean bRelativeCoord)

        Insert new command to path

        Specified by:
        insert in interface IMotionPath
        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

        public final void clear()

        Removes all commands from the collection.

        Specified by:
        clear in interface IMotionPath
      • remove

        public final void remove(IMotionCmdPath item)

        Removes specified commans from the collection.

        Specified by:
        remove in interface IMotionPath
        Parameters:
        item - Motion path to remove.
      • removeAt

        public final void removeAt(int index)

        Removes a command at the specified index.

        Specified by:
        removeAt in interface IMotionPath
        Parameters:
        index - Index of a command that should be deleted.
      • iterator

        public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IMotionCmdPath> iterator()

        Returns an enumerator that iterates through the collection.

        Specified by:
        iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IMotionCmdPath>
        Specified by:
        iterator in interface com.aspose.ms.System.Collections.IEnumerable<IMotionCmdPath>
        Specified by:
        iterator in interface java.lang.Iterable<IMotionCmdPath>
        Returns:
        A System.Collections.Generic.IEnumerator`1 that can be used to iterate through the collection.
      • iteratorJava

        public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IMotionCmdPath> iteratorJava()

        Returns a java iterator for the entire collection.

        Returns:
        An Iterator for the entire collection.