»
027. SVG Ellipse
svg画椭圆:
<ellipse cx="" cy="" rx="" ry="" stroke="">" stroke-width="" fill="" transform=""></ellipse>
cx,xy为中心坐标;r为圆半径;stroke,为圆线的画笔的样式(一般为颜色);fill为圆内的填充的样式(一般为颜色)。
效果如下:
调整颜色:
stroke(color):
stroke(opacity):
fill(color):
fill(opacity):
当前svg标签:
<ellipse cx="80" cy="50" rx="40" ry="40" stroke="rgba(255,255,127,1.0)" stroke-width="4" fill="rgba(255,127,127,0.9)" transform="rotate(-24 80 50)"></ellipse>
————www.v-signon.com学习者共勉