@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="CanvasGradient")
public class CanvasGradient
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
CanvasGradient() |
| Modifier and Type | Method and Description |
|---|---|
void |
addColorStop(double offset,
java.lang.String color)
The CanvasGradient.addColorStop() method adds a new color stop, defined by an offset and a color, to a given canvas gradient.
|