Category:Home/reference (Total 51 items)

≪ oval() | arrow() ≫

line()

line(x1, y1, x2, y2, draw=True)

スクリーンに線を描画する。
線は2点間の直線である。

最初の2つのパラメータは最初の点(origin)、続く2つのパラメータは2番目の点(destination)の位置をセットする。

stroke()が背景色と同じだったり、strokewidth()がゼロの時は線を確認できない。

Category:Home/reference (Total 51 items)

≪ oval() | arrow() ≫

Entries in this Category
Tutorial
Library
Syndicate this site

RSS 1.0 Feed

Return to page top