Create a custom mask defined by a Graphics object.
factory Mask.graphics(Graphics graphics) => _GraphicsMask(graphics);