add comment for arc()
This commit is contained in:
parent
681139064e
commit
0cf23255fb
1 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,8 @@ pub fn start() {
|
|||
|
||||
context.begin_path();
|
||||
|
||||
// arc(x, y, radius, startAngle, endAngle, counterclockwise)
|
||||
// Draws an arc which is centered at (x, y) position with radius r starting at startAngle and ending at endAngle going in the given direction indicated by counterclockwise (defaulting to clockwise).
|
||||
context
|
||||
.arc(75.0, 75.0, 50.0, 0.0, f64::consts::PI * 2.0)
|
||||
.unwrap();
|
||||
|
|
Loading…
Reference in a new issue