目录
当前位置: 首页 > 文档资料 > Snap.svg 英文文档 >

Paper.circle(x, y, r)

优质
小牛编辑
114浏览
2023-12-01

Draws a circle

Parameters

  1. xnumberx coordinate of the centre
  2. ynumbery coordinate of the centre
  3. rnumberradius

Returns: object the circle element

Usage

var c = paper.circle(50, 50, 40);