
## ICanvasGradient class

Represents an opaque object describing a gradient.



The ICanvasGradient type exposes the following members:

### Methods
| Method | Description |
| :- | :- |
| [add_color_stop](/html/python-net/aspose.html.dom.canvas/icanvasgradient/add_color_stop/#float-str) | Adds a new stop, defined by an offset and a color, to the gradient. |



### See Also
* module [`aspose.html.dom.canvas`](..)
