insert method
Contents
[
Hide
]insert
Creates the new gradient stop and inserts it at the specified index to the collection.
def insert(self, index, position, color):
...
Parameter | Type | Description |
---|---|---|
index | int | Index in the collection where new gradient stop will be inserted. |
position | float | Position of the new gradient stop. |
color | aspose.pydrawing.Color | Color of the new radient stop. |
insert
Creates the new gradient stop and inserts it at the specified index to the collection.
def insert(self, index, position, preset_color):
...
Parameter | Type | Description |
---|---|---|
index | int | Index in the collection where new gradient stop will be inserted. |
position | float | Position of the new gradient stop. |
preset_color | PresetColor | Color of the new radient stop. |
insert
Creates the new gradient stop and inserts it at the specified index to the collection.
def insert(self, index, position, scheme_color):
...
Parameter | Type | Description |
---|---|---|
index | int | Index in the collection where new gradient stop will be inserted. |
position | float | Position of the new gradient stop. |
scheme_color | SchemeColor | Color of the new radient stop. |
See Also
- class
IGradientStopCollection
- enumeration
PresetColor
- enumeration
SchemeColor
- module
aspose.slides
- library
Aspose.Slides