add method
Contents
[
Hide
]add
Creates the new gradient stop and adds it to the end of collection.
Returns
Index of the new gradient stop in the collection.
def add(self, position, color):
...
Parameter | Type | Description |
---|---|---|
position | float | Position of the new gradient stop. |
color | aspose.pydrawing.Color | Color of the new radient stop. |
add
Creates the new gradient stop and adds it to the end of collection.
Returns
Index of the new gradient stop in the collection.
def add(self, position, preset_color):
...
Parameter | Type | Description |
---|---|---|
position | float | Position of the new gradient stop. |
preset_color | PresetColor | Color of the new radient stop. |
add
Creates the new gradient stop and adds it to the end of collection.
Returns
Index of the new gradient stop in the collection.
def add(self, position, scheme_color):
...
Parameter | Type | Description |
---|---|---|
position | float | Position of the new gradient stop. |
scheme_color | SchemeColor | Color of the new radient stop. |
See Also
- class
IGradientStop
- class
IGradientStopCollection
- enumeration
PresetColor
- enumeration
SchemeColor
- module
aspose.slides
- library
Aspose.Slides