Create a rectangular mask.
Source
factory Mask.rectangle(num x, num y, num width, num height) { var rectangle = new Rectangle<num>(x, y, width, height); return new _RectangleMask(rectangle); }
Create a rectangular mask.
factory Mask.rectangle(num x, num y, num width, num height) { var rectangle = new Rectangle<num>(x, y, width, height); return new _RectangleMask(rectangle); }