Lines Matching full:path
30 this._currentPath = new CanvasKit.Path();
484 this._currentPath = new CanvasKit.Path();
498 this.clip = function(path, fillRule) {
499 if (typeof path === 'string') {
501 fillRule = path;
502 path = this._currentPath;
503 } else if (path && path._getPath) {
504 path = path._getPath();
506 if (!path) {
507 path = this._currentPath;
510 var clip = path.copy();
623 this.fill = function(path, fillRule) {
624 if (typeof path === 'string') {
626 fillRule = path;
627 path = this._currentPath;
628 } else if (path && path._getPath) {
629 path = path._getPath();
638 if (!path) {
639 path = this._currentPath;
648 this._canvas.drawPath(path, shadowPaint);
652 this._canvas.drawPath(path, fillPaint);
721 var path = this._currentPath;
723 var path = args[0];
741 path.setFillType(fillmode === 'nonzero' ?
744 return path.contains(x, y);
750 var path = this._currentPath;
752 var path = args[0];
764 var temp = path.copy();
793 // fast, simple path for basic call
849 // Apply the current transform to the path and then reset
899 // path so it cancels out when we apply the transform at draw time.
947 // path so it cancels out when we apply the transform at draw time.
1046 this.stroke = function(path) {
1047 path = path ? path._getPath() : this._currentPath;
1054 this._canvas.drawPath(path, shadowPaint);
1059 this._canvas.drawPath(path, strokePaint);
1101 // path so it cancels out when we apply the transform at draw time.
1113 // path so it cancels out when we apply the transform at draw time.