画自由形状 —— 用 SVG path 语法,但渲染是手绘的
svg.appendChild(rc.path('M 10 80 C 40 10, 65 10, 95 80 S 150 150, 180 80'));
svg.appendChild(rc.curve([[10,80],[60,10],[110,80],[160,10],[210,80]]));
svg.appendChild(rc.ellipse(130, 60, 200, 80)); ← cx,cy,width,height
svg.appendChild(rc.polygon([[20,100],[80,20],[140,100],[200,20]]));
svg.appendChild(rc.arc(130, 60, 80, 80, Math.PI, Math.PI * 1.8));
svg.appendChild(rc.linearPath([[10,30],[80,90],[150,30],[220,90]]));
'M 10 80 Q 95 10 180 80 T 350 80'(Q 是二次贝塞尔,T 是平滑镜像)