Let’s implement drawers and components to display text and “freeform” lines in our FabricJS canvas!
Just like with the basic shapes, for both Text and Polylines we needed to implement a drawer and a display component. Those classes then needed to be wired up to the main DrawingEditor class, and into the Razor Page markup and script.
#fabricjs #typescript