A constructor constructs mask from PolygonF object from the TypeLibF plugin
The polygonProvide parameter has the signature of Object to not create circular dependencies.
Note if you send PolygonF object from older version of TypeLibF than 2.2 then you will get crash.