createLinearGradient method

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

Implementation

CanvasGradient createLinearGradient(num x0, num y0, num x1, num y1) native;