##### OffscreenCanvasRenderingContext2D class

1. Properties
2. canvas
3. direction
4. fillStyle
5. filter
6. font
7. globalAlpha
8. globalCompositeOperation
9. imageSmoothingEnabled
10. imageSmoothingQuality
11. lineCap
12. lineDashOffset
13. lineJoin
14. lineWidth
15. miterLimit
16. shadowBlur
17. shadowColor
18. shadowOffsetX
19. shadowOffsetY
20. strokeStyle
21. textAlign
22. textBaseline
23. hashCode
24. runtimeType
25. Methods
26. arc
27. arcTo
28. beginPath
29. bezierCurveTo
30. clearRect
31. clip
32. closePath
33. commit
34. createImageData
35. createLinearGradient
36. createPattern
37. createRadialGradient
38. drawImage
39. ellipse
40. fill
41. fillRect
42. fillText
43. getImageData
44. getLineDash
45. isPointInPath
46. isPointInStroke
47. lineTo
48. measureText
49. moveTo
50. putImageData
51. quadraticCurveTo
52. rect
53. resetTransform
54. restore
55. rotate
56. save
57. scale
58. setLineDash
59. setTransform
60. stroke
61. strokeRect
62. strokeText
63. transform
64. translate
65. noSuchMethod
66. toString
67. Operators
68. operator ==

# createLinearGradient method

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

## Implementation

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