Ejemplo n.º 1
0
 public customStroke(StylusPointCollection pts, PaintingCanvas ink)
     : base(pts)
 {
     this.StylusPoints = pts;
     this.color        = ink.colorName;
     this.size         = ink.penSize;
 }
Ejemplo n.º 2
0
 private void Window_Loaded(object sender, RoutedEventArgs e)
 {
     //赋值
     drawCanvas = new PaintingCanvas(this, this.Ink);
 }