javascript-draggable-shapes
v1.0.6
Published
javascript library to create draggable figures using canvas + webgl 2d context Demo Here: https://3dlibrary.000webhostapp.com/page/src/
Downloads
11
Readme
javascript-draggable-shapes
javascript library to create draggable figures using canvas + webgl 2d context Demo Here: https://3dlibrary.000webhostapp.com/page/src/
Javascript Library to paint draggable squares using html canvas + webgl 2d context.
Shapes can be resized using right and bottom markers when mose is over the figure.
2. Create and Object Frame and set "2d" value to constructor.
3. Use print square function to draw the shape into tha canvas element. Now you have a draggable element. Parameters are. X (number), Y (number), Width (number), Height (number), Color (name, rgb or hex) (