IDrawingFactory.CreateInterpolationColor
IDrawingFactory.CreateInterpolationColor method
Creates an interpolation color with the specified color and position.
public IInterpolationColor CreateInterpolationColor(Color color, float position)
Parameter | Type | Description |
---|---|---|
color | Color | Represents the color that will be used at the corresponding position of the gradient. |
position | Single | The position, represented as a percentage from 0 to 1, at which the corresponding gradient color will be used. |
Return Value
The created IInterpolationColor
.
See Also
- interface IInterpolationColor
- interface IDrawingFactory
- namespace Aspose.Svg.Drawing
- assembly Aspose.SVG