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