Graphics02
♥0 |
Line 25 |
Modified 2009-12-20 23:56:12 |
MIT License
archived:2017-03-09 22:48:32
ActionScript3 source code
/**
* Copyright 178ep3 ( http://wonderfl.net/user/178ep3 )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/e6Oc
*/
package
{
import flash.display.Shape;
import flash.display.Sprite;
public class SampleGraphics extends Sprite
{
public function SampleGraphics()
{
var i:uint=0;
var q:Number=0;
for(i=0; i<4; i++)
{
var shape:Shape = addChild(new Shape())as Shape;
shape.x = shape.y = 233.5;
shape.rotation = i*90;
for(q=0; q<200; q+=2)
{
shape.graphics.lineStyle(1,0,0.7);
shape.graphics.drawCircle(q/2+1,q/2+1,q/2);
shape.graphics.endFill();
}
}
}
}
}