add_clone method
Contents
[
Hide
]add_clone
Adds a copy of a specified shape to the end of the collection.
X, Y, Width and Height of the new shape are equal to X, Y, Width and Height of the source_shape
.
Returns
New shape.
def add_clone(self, source_shape):
...
Parameter | Type | Description |
---|---|---|
source_shape | IShape | Shape to clone. |
add_clone
Adds a copy of a specified shape to the end of the collection.
Width and Height of the new shape are equal to Width and Height of the source_shape
.
Returns
New shape.
def add_clone(self, source_shape, x, y):
...
Parameter | Type | Description |
---|---|---|
source_shape | IShape | Shape to clone. |
x | float | X coordinate of a new shape. |
y | float | Y coordinate of a new shape. |
add_clone
Adds a copy of a specified shape to the end of the collection.
Returns
New shape.
def add_clone(self, source_shape, x, y, width, height):
...
Parameter | Type | Description |
---|---|---|
source_shape | IShape | Shape to clone. |
x | float | X coordinate of a new shape. |
y | float | Y coordinate of a new shape. |
width | float | Width of a new shape. |
height | float | Height of a new shape. |
See Also
- class
IShape
- class
IShapeCollection
- module
aspose.slides
- library
Aspose.Slides