Skip to content

Instantly share code, notes, and snippets.

@ISTweak
Last active March 23, 2019 01:10
Show Gist options
  • Save ISTweak/9f3e62f644d6858c75e3dc2e183dfb37 to your computer and use it in GitHub Desktop.
Save ISTweak/9f3e62f644d6858c75e3dc2e183dfb37 to your computer and use it in GitHub Desktop.
覚書
drawCircleHelper(中心x, 中心y, 半径, 位置, 色);
90、180、270度の弧を描画
1:左上(90度)
2:右上(90度)
3:上(180度)
4:右下(90度)
5:左上右下(90度90度)
6:右(180度)
7:左下空き(270度)
8:左下(90度)
9:左(180度)
10:左下右上(90度90度)
11:右下空き(270度)
12:下(180度)
13:右上空き(270度)
14:左上空き(270度)
15:丸
fillCircleHelper(中心x, 中心y, 半径, 位置, 幅, 色);
塗りつぶされた半円を描画
幅の分センターから右に伸びる(半径は変わらない)
1:下
2:上
3:上下(センターに隙間)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment