<!doctype html>
<html>
<head>
	<title>canvas.js | paths</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<script type="text/javascript" src="../../pattern/canvas.js"></script>
</head>
<body>
	<script type="text/canvas">
		function setup(canvas) {
			canvas.size(500, 500);
		}
		function draw(canvas) {
			canvas.clear();
			// A BÃ©zier path can be used to draw complex shapes (e.g., curve, star, ...)
			// The BezierPath object has moveto(), lineto(), curveto() and close() me