public override void Paint(PaintVisitor p) { if (fillColor.A > 0) { p.FillPath(myCachedPath, fillColor); } if (this.strokeColor.A > 0 && this.ActualStrokeWidth > 0) { p.DrawPath(myCachedPath, this.strokeColor, this.ActualStrokeWidth); } } }