1 2 3 4 5 6 7 8 9 10 11
| let paper = Raphael('raphael-view',600,200); paper.circle(100, 100, 30); paper.rect(160, 70, 80, 60); paper.ellipse(300, 100,40, 30); paper.path("M360,130L380,70L420,130L440,70"); paper.image("cat.jpg",460, 70, 80, 60); paper.text(100, 150, "Circle"); paper.text(200, 150, "Rect"); paper.text(300, 150, "Ellipse"); paper.text(400, 150, "Path"); paper.text(500, 150, "Image");
|