vendor/kinetic-v5.1.0.js
function(shape) {
            var fillEnabled = shape.getFillEnabled();
            if(fillEnabled) {
                this._fill(shape);
            }
            if(shape.getStrokeEnabled()) {
                this._stroke(shape);
            }
        }
function(shape) {
            var fillEnabled = shape.getFillEnabled();
            if(fillEnabled) {
                this._fill(shape);
            }
            if(shape.getStrokeEnabled()) {
                this._stroke(shape);
            }
        }
function ( shape ) { var fillEnabled = shape . getFillEnabled ( ) ; if ( fillEnabled ) { this . _fill ( shape ) ; } if ( shape . getStrokeEnabled ( ) ) { this . _stroke ( shape ) ; } }
fill then stroke
@method
@memberof Kinetic.Context.prototype
@param {Kinetic.Shape} shape
fill then stroke