稳扎稳打Silverlight(7) - 2.0图形之Ellipse,Line,Path,Polygon,Polyline,Rectangle
介绍
Silverlight 2.0 图形:
Ellipse - 椭圆
Line - 线
Path - 一系列相互连接的直线和曲线
Polygon - 多边形,闭合图形,起点与终点自动相连
Polyline - 非闭合图形,一串连接起来的线,起点与终点不会自动相连
Rectangle - 矩形
在线DEMO
http://www.cnblogs.com/webabcd/archive/2008/10/09/1307486.html
示例
1、Ellipse.xaml
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
2、Line.xaml
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
3、Path.xaml
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
4、Polygon.xaml
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
5、Polyline.xaml
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
6、Rectangle.xaml
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
OK
源码下载地址:http://files.cnblogs.com/webabcd/Silverlight.rar
返回“稳扎稳打Silverlight 2.0系列教程”目录页