Create a custom mask defined by a Shape object.
factory Mask.shape(Shape shape) => _ShapeMask(shape);