public override void RenderOverride(RenderContext localRenderContext) { base.RenderOverride(localRenderContext); PerformLayout(localRenderContext); if (_fillContext != null) { if (Fill.BeginRenderBrush(_fillContext, localRenderContext)) { _fillContext.Render(0); Fill.EndRender(); } } if (_strokeContext != null) { if (Stroke.BeginRenderBrush(_strokeContext, localRenderContext)) { _strokeContext.Render(0); Stroke.EndRender(); } } }