code: function(shape) {
              var fillEnabled = shape.getFillEnabled();
              if(fillEnabled) {
                  this._fill(shape);
              }
              if(shape.getStrokeEnabled()) {
                  this._stroke(shape);
              }
          }
docs: fill then stroke
  @method
  @memberof Kinetic.Context.prototype
  @param {Kinetic.Shape} shape