Ellipses and circles : imagefilledarc « Graphics Image « PHP






Ellipses and circles

 
IMG_ARC_PIE draws a filled wedge shape with a curved edge

IMG_ARC_CHORD draws a straight line between the starting and ending angles

IMG_ARC_NOFILL draws the outside edge line without drawing the two lines toward the center of the arc

IMG_ARC_EDGED draws an unfilled wedge shape with a curved edge

<?
    imagefilledarc($image, 200, 150, 200, 200, 345, 15, $green,IMG_ARC_CHORD | IMG_ARC_NOFILL);
    imagefilledarc($image, 200, 150, 200, 200, 345, 15, $green,IMG_ARC_EDGED | IMG_ARC_NOFILL);
?>
  
  








Related examples in the same category

1.Creating a Pie Graph Using imagefilledarc()
2.Using imagefilledarc()