createLinearGradient method

CanvasGradient createLinearGradient(
  1. double x0,
  2. double y0,
  3. double x1,
  4. double y1,
)

Implementation

CanvasGradient createLinearGradient(
        double x0, double y0, double x1, double y1) =>
    js_util.callMethod(this, 'createLinearGradient', [x0, y0, x1, y1]);