FabricJs: creating a grid of lines; getting the width and height of each region -


i want create grid of draggable lines. once create grid, i'd able width , height of each region.

example: 1 vertical line , 1 horizontal create 4 regions.

using fabricjs, i'm able create lines, i'm able drag left , right, , down, i'm not sure how width , height each region.

i trying see how code worked on link, can't quite grasp it: detecting regions described lines on html5 canvas


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -