Constructor new W2(mask, options) Create a new W2. Parameters: Name Type Description mask Array.<Point> | Polygon Vertices of a polygon used as a mask. Only the portion of the tangle inside the polygon will be visible. options W2Options The options list. Source: W2.js, line 24