Lines Matching defs:paint
599 // A helper to copy the current paint, ready for filling
603 var paint = this._paint.copy();
604 paint.setStyle(CanvasKit.PaintStyle.Fill);
607 paint.setColor(alphaColor);
610 paint.setColor(CanvasKit.Color(0,0,0, this._globalAlpha));
611 paint.setShader(shader);
614 paint.dispose = function() {
620 return paint;
872 this._paint = newState.paint;
934 paint: this._paint.copy(),
986 // Returns the shadow paint for the current settings or null if there
988 // paint with a blur maskfilter and the correct color.
1017 // A helper to get a copy of the current paint, ready for stroking.
1021 var paint = this._paint.copy();
1022 paint.setStyle(CanvasKit.PaintStyle.Stroke);
1025 paint.setColor(alphaColor);
1028 paint.setColor(CanvasKit.Color(0,0,0, this._globalAlpha));
1029 paint.setShader(shader);
1032 paint.setStrokeWidth(this._strokeWidth);
1036 paint.setPathEffect(dashedEffect);
1039 paint.dispose = function() {
1043 return paint;