public Stroke(ISvgBrush brush) { this.pen = brush.Pen; //this.brush = new SolidColor(pen.Color); this.strokeColor = pen.Color; this.Width = 1f; this.Linecap = LineCap.Square; this.Linejoin = LineJoin.Miter; this.MiterLimit = 4; this.DashArray = null; this.DashOffset = 0f; this.Opacity = 1f; this.brush = brush.Clone(); }