## Uses of Class
com.google.gwt.canvas.dom.client.CanvasGradient

- Packages that use CanvasGradient
  Package | Description
  --- | ---
  com.google.gwt.canvas.dom.client | Classes for HTML Canvas 2D support.

- - ### Uses of CanvasGradient in com.google.gwt.canvas.dom.client

    Methods in com.google.gwt.canvas.dom.client that return CanvasGradient
    Modifier and Type | Method | Description
    --- | --- | ---
    `CanvasGradient` | Context2d.`createLinearGradient​(double x0, double y0, double x1, double y1)` | Creates a linear gradient.
    `CanvasGradient` | Context2d.`createRadialGradient​(double x0, double y0, double r0, double x1, double y1, double r1)` | Creates a radial gradient.