WebIDLpedia

CanvasGradient interface

Definition

HTML Standard defines CanvasGradient



[Exposed=(Window,Worker)]
interface CanvasGradient {
  // opaque object
  undefined addColorStop(double offset, DOMString color);
};

Methods and attributes that return objects implementing CanvasGradient

Referring IDL interfaces/dictionaries