@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="CanvasGradient")
public class CanvasGradient
extends JsObject
| 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.
|
assign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, values