ఎసీవిజి <circle>

SVG వక్రత్వం - <circle>

<circle> వక్రత్వం సృష్టించడానికి ఉపయోగించే కేంద్రం:

ఇది SVG కోడ్:

ఉదాహరణ

<svg height="100" width="100">
  <circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" fill="red" />
</svg>

స్వయంగా ప్రయత్నించండి

కోడ్ వివరణం:

  • cx 和 cy 属性定义圆心的 x 和 y 坐标。如果省略 cx 和 cy,则圆心设置为 (0,0)
  • r 属性定义圆的半径