## ICanvasGradient interface

Represents an opaque object describing a gradient.

```csharp
public interface ICanvasGradient
```

## Methods

| Name | Description |
| --- | --- |
| [AddColorStop](../../aspose.html.dom.canvas/icanvasgradient/addcolorstop/)(*double, string*) | Adds a new stop, defined by an offset and a color, to the gradient. |

### See Also

* namespace [Aspose.Html.Dom.Canvas](../../aspose.html.dom.canvas/)
* assembly [Aspose.HTML](../../)
