## ICanvasGradient interface

Represents an opaque object describing a gradient.

```java
public interface ICanvasGradient
```

## Methods

| Name | Description |
| --- | --- |
| [addColorStop](../../com.aspose.html.dom.canvas/icanvasgradient/addcolorstop/)(double, String) | Adds a new stop, defined by an offset and a color, to the gradient. |

### See Also

* package [com.aspose.html.dom.canvas](../../com.aspose.html.dom.canvas/)
* package [Aspose.HTML](../../)
