A指令参数:
① rx ② ry ③ x-axis-rotation ④ large-arc-flag ⑤ sweep-flag ⑥ x ⑦ y
① rx :椭圆弧水平半径
② ry :椭圆弧垂直半径
③ x-axis-rotation :椭圆弧相对于X坐标的旋转角度(非弧度)
④ large-arc-flag :大弧(1)还是是小弧(0)
⑤ sweep-flag :绘制方向是顺时针(1)还是逆时针(0)
⑥ x :椭圆弧终点X坐标
⑦ y :椭圆弧终点Y坐标
绘制椭圆弧 path 路径 d 属性值赋值语法:
<path d="M x1 y1 A rx ry x-axis-rotation large-arc-flag sweep-flag x y" fill="none" stroke="red" />
//其中,M x1 y1 是画笔移动到椭圆形的起点XY坐标,fill 和 stroke 是设置填充色和描边色