[索引页]
[源码下载]
作者: webabcd
介绍
Silverlight 2.0 图形:基类System.Windows.Shapes.Shape(Ellipse,Line,Path,polygon,polyline,Rectangle都继承自抽象类System.Windows.Shapes.Shape)。
Fill - 填充(System.Windows.Media.Brush类型)
stroke - 笔触(System.Windows.Media.Brush类型)
strokeThickness - 笔触尺寸
Stretch - 拉伸值 [System.Windows.Media.Stretch 枚举]
strokeDashArray - 虚线和间隙的值的集合 [System.Windows.Media.Stretch 枚举]
strokeDashCap - 虚线两端(线帽)的类型 [System.Windows.Media.PenLineCap 枚举]
strokeStartLineCap - 虚线起始端(线帽)的类型 [System.Windows.Media.PenLineCap 枚举]
strokeEndLineCap - 虚线终结端(线帽)的类型 [System.Windows.Media.PenLineCap 枚举]
strokeDashOffset - 虚线的起始位置。从虚线的起始端的 strokeDashOffset 距离处开始描绘虚线
strokeLineJoin - 图形连接点处的连接类型 [System.Windows.Media.PenLineJoin 枚举]
strokeMiterLimit - 斜接长度 与 strokeThickness/2 的比值。默认值 10,最小值 1
在线DEMO
http://www.cnblogs.com/webabcd/archive/2008/10/09/1307486.html
示例
Shape.xaml
OK
[源码下载]
[源码下载]
稳扎稳打Silverlight(8) - 2.0图形之基类System.Windows.Shapes.Shape
作者: webabcd
介绍
Silverlight 2.0 图形:基类System.Windows.Shapes.Shape(Ellipse,Line,Path,polygon,polyline,Rectangle都继承自抽象类System.Windows.Shapes.Shape)。
Fill - 填充(System.Windows.Media.Brush类型)
stroke - 笔触(System.Windows.Media.Brush类型)
strokeThickness - 笔触尺寸
Stretch - 拉伸值 [System.Windows.Media.Stretch 枚举]
strokeDashArray - 虚线和间隙的值的集合 [System.Windows.Media.Stretch 枚举]
strokeDashCap - 虚线两端(线帽)的类型 [System.Windows.Media.PenLineCap 枚举]
strokeStartLineCap - 虚线起始端(线帽)的类型 [System.Windows.Media.PenLineCap 枚举]
strokeEndLineCap - 虚线终结端(线帽)的类型 [System.Windows.Media.PenLineCap 枚举]
strokeDashOffset - 虚线的起始位置。从虚线的起始端的 strokeDashOffset 距离处开始描绘虚线
strokeLineJoin - 图形连接点处的连接类型 [System.Windows.Media.PenLineJoin 枚举]
strokeMiterLimit - 斜接长度 与 strokeThickness/2 的比值。默认值 10,最小值 1
在线DEMO
http://www.cnblogs.com/webabcd/archive/2008/10/09/1307486.html
示例
Shape.xaml
OK
[源码下载]
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。