Merge branch 'master' of github.com:konvajs/konva

This commit is contained in:
Anton Lavrenov 2019-05-27 14:40:06 -05:00
commit de0d4a6c71
2 changed files with 5 additions and 0 deletions

View File

@ -24,6 +24,7 @@ var COMMA = ',',
'createPattern',
'createRadialGradient',
'drawImage',
'ellipse',
'fill',
'fillText',
'getImageData',
@ -324,6 +325,9 @@ export class Context {
_context.drawImage(a0, a1, a2, a3, a4, a5, a6, a7, a8);
}
}
ellipse(a0, a1, a2, a3, a4, a5, a6, a7) {
this._context.ellipse(a0, a1, a2, a3, a4, a5, a6, a7);
}
isPointInPath(x, y) {
return this._context.isPointInPath(x, y);
}

View File

@ -19,6 +19,7 @@ suite('Context', function() {
'arc',
'arcTo',
'rect',
'ellipse'
'fill',
'stroke',
'clip',