public override void OnRender(Media.DrawingContext dc) { /// Make room for cases when strokes are thick. int x = _renderWidth / 2 + Stroke.Thickness - 1; int y = _renderHeight / 2 + Stroke.Thickness - 1; int w = _renderWidth / 2 - (Stroke.Thickness - 1) * 2; int h = _renderHeight / 2 - (Stroke.Thickness - 1) * 2; dc.DrawEllipse(Fill, Stroke, x, y, w, h); }