How to use the CanvasGradient function from bindings
Find comprehensive JavaScript bindings.CanvasGradient code examples handpicked from public code repositorys.
262 263 264 265 266 267 268 269 270 271
return this.nativeContext.createImageData(width, height) } createLinearGradient (x0, y0, x1, y1) { return new CanvasGradient('linear', x0, y0, x1, y1) } createPattern (image, repetition = 'repeat') { const dye = image.nativeCanvas || image
1
18
0
+ 3 other calls in file
bindings.createKey is the most popular function in bindings (8616 examples)