Skip to content

Files

Latest commit

cf9e324 · Oct 31, 2014

History

History
This branch is 35 commits behind dojo/demos:master.

bezier

-------------------------------------------------------------------------------
Bezier Playground - An interactive Bezier curve editor
-------------------------------------------------------------------------------
Authors: Patrick Ruzand
-------------------------------------------------------------------------------
Demo description

	This demo allows the creation of Bezier curves interactively. It demonstrates
	the dojox.gfx Path API and how shapes definition can be dynamically redefined. It
	also illustrates how user interaction can be easily handled.
	Press the left mouse button to add a new point. Release the button to keep the default control points, or:
	Drag the mouse to adjust the control points position.
	Double-click to commit the curve.
	
-------------------------------------------------------------------------------
Dependencies:

	Dojo Core (dom, on, mouse)
	DojoX Gfx

-------------------------------------------------------------------------------
Installation instructions

	Simply run the included demo.html
		
-------------------------------------------------------------------------------
@rank:40 @categories:graphics