mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-06-02 08:14:57 -04:00
Clean up strokeJoin example.
This commit is contained in:
parent
7fdf439ef2
commit
783244b393
1 changed files with 1 additions and 3 deletions
|
@ -17,11 +17,9 @@
|
||||||
<script type="text/javascript" src="../../src/item/Layer.js"></script>
|
<script type="text/javascript" src="../../src/item/Layer.js"></script>
|
||||||
<script type="text/javascript" src="../../src/item/Group.js"></script>
|
<script type="text/javascript" src="../../src/item/Group.js"></script>
|
||||||
<script>
|
<script>
|
||||||
var count = 0;
|
|
||||||
var doc;
|
|
||||||
window.onload = function() {
|
window.onload = function() {
|
||||||
var canvas = document.getElementById('canvas');
|
var canvas = document.getElementById('canvas');
|
||||||
doc = new Doc(canvas);
|
var doc = new Doc(canvas);
|
||||||
var path = new Path([100, 150], [150, 200], [200, 150]);
|
var path = new Path([100, 150], [150, 200], [200, 150]);
|
||||||
path.strokeColor = 'black';
|
path.strokeColor = 'black';
|
||||||
path.strokeWidth = 30;
|
path.strokeWidth = 30;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue