Category:Home/reference (Total 51 items)

≪ star() | moveto() ≫

beginpath()

beginpath(x=None, y=None)

beginpath()とendpath()コマンドを使ってcustom shapesを作ることができる。

beginpath()の2つのパラメータはpathの最初の点(origin)の位置をセットする。
これらのパラメーターはオプションである。
パラメーターが与えられなかった場合、pathの開始位置はmoveto()コマンドにより与えるべきです。
beginpath()コマンドが呼び出された後に、他のpath系コマンド(moveto()、lineto()、curveto()等)が続く。
最後にendpath()コマンドがスクリーンにpathを描画する。

Category:Home/reference (Total 51 items)

≪ star() | moveto() ≫

Entries in this Category
Tutorial
Library
Syndicate this site

RSS 1.0 Feed

Return to page top