May 19, 2021 WeChat Mini Program Development Document
Base library 1.9.90 starts to support, and low versions need to be compatible
Draws the arc path based on the control point and radius.
canvasContext.arcTo(x1, y1, x2, y2, radius)
The property value | Type | Description |
---|---|---|
x1 | Number | The x-axis coordinates of the first control point |
y1 | Number | The y-axis coordinates of the first control point |
x2 | Number | The x-axis coordinates of the second control point |
y2 | Number | The y-axis coordinates of the second control point |
radius | Number | The radius of the arc |