create_interpolation_color method
create_interpolation_color
Creates an interpolation color with the specified color and position.
Returns
The created IInterpolationColor
.
def create_interpolation_color(self, color, position):
...
Parameter | Type | Description |
---|---|---|
color | aspose.pydrawing.Color | Represents the color that will be used at the corresponding position of the gradient. |
position | float | The position, represented as a percentage from 0 to 1, at which the corresponding gradient color will be used. |
See Also
- module
aspose.html.drawing
- class
IDrawingFactory
- class
IInterpolationColor