MotionPath
Overview
MotionPath is a class in Aspose.Slides FOSS for Python.
Inherits from: IMotionPath.
Represent motion path.
This class declares 9 methods for MotionPath objects in Python programs.
Available methods include: __getitem__, __init__, __iter__, __len__, add, clear, insert, remove, remove_at.
Public members are accessible to any Python application after installing the Aspose.Slides FOSS for Python package.
Properties: as_i_enumerable, count.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
count | int | Read | Gets the count. |
as_i_enumerable | Any | Read | Gets the as i enumerable. |
Methods
| Signature | Description |
|---|---|
__init__() | Calls init on this MotionPath instance. |
add(type, pts, pts_type, b_relative_coord) → IMotionCmdPath | Creates 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) | Calls remove(item) on this MotionPath instance. |
remove_at(index) | Removes the motion command at the given index |
__getitem__(index: int) → IMotionCmdPath | Calls getitem(index) on this MotionPath instance. |
__len__() | Calls len on this MotionPath instance. |
__iter__() | Calls iter on this MotionPath instance. |