function drawTriangle(x0,y0,x1,y1,x2,y2) { Â Â var art = new Path(); Â Â art.closed=true; Â Â art.style.fill.color = RGBColor(0,0,0); Â Â art.style.stroke.color = null; Â Â art.moveTo(x0,y0); Â Â art.lineTo(x1,y1); Â Â art.lineTo(x2,y2); Â Â return art; } var art=drawTriangle(0,0,0,200,100,80);
{{#tags}}- {{label}}
{{/tags}}