Hi philip,
thank you, but your code does not work for me.
Here is the complete example:
<html>
<head>
<script type="text/javascript" src="js/paper.js"></script>
<script type="text/javascript">
window.onload = function() {
var canvas = document.getElementById('myCanvas');
paper.setup(canvas);
var path = new paper.Path();
path.strokeColor = 'black';
var start = new paper.Point(100, 100);
path.moveTo(start);
path.lineTo(start.add([ 200, -50 ]));
var cenPoint = new Point(20, 20);
var pathCircle = new paper.Path.Circle(cenPoint, 10);
paper.view.draw();
}
</script>
</head>
<body>
<canvas id="myCanvas" resize></canvas>
</body>
</html>
The line is drawn but the circle isn't.
I've tried a lot of different things but I couldn't figure out how it is done.
Could you please correct the above sample code?
Thanks,
Joe