drawCircle() 공개 메소드

Method to add a circle to the image.
public drawCircle ( integer $x, integer $y, integer $w ) : Svg
$x integer
$y integer
$w integer
리턴 Svg
예제 #1
0
 public function testAddCircle()
 {
     $s = new Svg('graph.svg', '640px', '480px');
     $s->drawCircle(10, 10, 100);
     $this->assertEquals(640, $s->getWidth());
 }