重新想象 Windows 8 Store Apps (18) - 绘图: Shape, Path, Stroke, Brush
作者:介绍重新想象 Windows 8 Store Apps 之 绘图 - Shape - 图形
- Path - 路径
- Stroke - 笔划
- Brush - 画笔
Drawing/Brush.xaml.cs
using Windows.UI.Xaml.Controls;using Windows.UI.Xaml.Navigation;namespace XamlDemo.Drawing{ public sealed partial class Brush : Page { public Brush() { this.InitializeComponent(); } private void webView_LoadCompleted_1(object sender, NavigationEventArgs e) { // WebView 加载完毕后重绘 WebViewBrush webViewBrush.Redraw(); } }}