标签:att window text ati can www. bindings 嵌入 ems
1.画画布: $canvas = $mw->new_tk__canvas;
2.画线: $canvas->create_line(10,10,200,50,-fill=>”red”,-width=>3);
配置item参数: $canvas->itemconfigure($id, -fill => "blue", -width => 2);
3.画椭圆 “oval”
4.画弧线 “arc”
5.画多边形 “polygon”
6.添加图片 “bitmap(black and white)” “image(full color)”
7.添加文字 “text”
8.嵌入别的item “window”
9.删除item $canvas->delete($id);
|----------------------------> (X轴)
|
|
|
|
(Y轴)
原menu:
原网址:http://www.tkdocs.com/tutorial/onepage.html Canvas一章
2017/8/30 he1.bai@samsung.com
标签:att window text ati can www. bindings 嵌入 ems
原文地址:http://www.cnblogs.com/linux0537/p/7454316.html