Creates a new PolygonMaskInstance
the plugin manager
the polygon mask container
The polygon mask dimensions
OptionaloffsetThe polygon mask offset
OptionalpathsThe parsed SVG paths
OptionalrawThe raw polygon coordinates
OptionalredrawThe redraw timeout handle
Checks if a click position is valid inside the polygon
the click position
true if the position is valid
Polygon Mask manager