-
https://developer.mozilla.org/ko/docs/Web/API/Canvas_API/Tutorial/Drawing_shapes
-
beginPath() : 새로운 경로 그리기
-
moveTo(x, y) : 펜을 x, y 좌표로 옮긴다.(그냥 커서만 옮긴다.)
-
lineTo(x, y) : 펜을 x, y 좌표로 그리며 움직인다.
-
stroke() : 실제로 윤곽선을 그린다.
-
arc(x, y, radius, startAngle, endAngle, anticlockwise) : 원점 (x, y), 반지름 r, 시작점 startAngle, 끝점 endAngle, anticlockwise 회전 방향(true 반시계, 기본값 false)
-
Notifications
You must be signed in to change notification settings - Fork 0
ISeeTheFuture/EdChart
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
canvas&chart
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published