IDrawingFactory.CreateLinearGradientBrush
IDrawingFactory.CreateLinearGradientBrush method
Creates a linear gradient brush with the specified parameters.
public ILinearGradientBrush CreateLinearGradientBrush(RectangleF rect, IInterpolationColor[] colors)
Parameter | Type | Description |
---|---|---|
rect | RectangleF | The rectangle defining the gradient bounds. |
colors | IInterpolationColor[] | The interpolation colors for the gradient. See IInterpolationColor . |
Return Value
The created ILinearGradientBrush
.
See Also
- interface ILinearGradientBrush
- interface IInterpolationColor
- interface IDrawingFactory
- namespace Aspose.Html.Drawing
- assembly Aspose.HTML