Create a custom mask defined by a Graphics object.
factory Mask.graphics(Graphics graphics) { return new _GraphicsMask(graphics); }