MotionPath

Overview

MotionPath is a class in Aspose.Slides FOSS for Python. Inherits from: IMotionPath.

Represent motion path.

This class provides 8 methods for working with MotionPath objects in Python programs. Available methods include: __init__, add, as_i_enumerable, clear, count, insert, remove, remove_at. All public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package. Properties: as_i_enumerable, count.

Properties

NameTypeAccessDescription
countintReadGets the count.
as_i_enumerableAnyReadGets the as i enumerable.

Methods

SignatureDescription
__init__()
add(type, pts, pts_type, b_relative_coord)IMotionCmdPathCreates and appends a new motion command with given type and points
insert(index, type, pts, pts_type, b_relative_coord)Inserts a new motion command at the specified index
clear()Removes all motion commands from the path
remove(item)
remove_at(index)Removes the motion command at the given index
count()intReturns the number of paths in the collection.
as_i_enumerable()AnyAllows to get base IBehavior interface.

See Also