moveCommand

 M startpoint absolute value

 m startpoint  offset to previous point

 

drawCommand

 L,l endPoint  create a straight line

 H,h x  create a horizontal line

 V,v y create a verizontal line

 

 C,c controlPoint1 controlPoint2 endpoint

     cubic Bezier curve

 Q,q controlPoint endPoint

     quadratic Bezier curve

 S,s controlPoint2 endPoint

      smooth cubic Bezier curve

 T,t controlPoint endPoint

     smooth quadratic Bezier curve

 A,a size(x-radius,y-radius) rotationAngle isLargeArcFlag sweepDirectionFlag endPoint

   creates a elliptical arc

 

CloseCommand

 z close point

 

 

 

posted on 2012-11-15 14:16  fenix  阅读(171)  评论(0编辑  收藏  举报