Unless specified methods return their instance of Two for the purpose of chaining.Ĭreate a new instance of Two where params is a JavaScript object with several optional parameters listed below: Below are the documented properties and features of the Two class.
These make it possible to draw, but also afford other capabilities such as augmenting the drawing space.
It exposes a number of methods and properties. When you import the library Two is a window level class that serves as the main interaction point for the project.