protected void DrawEllipse(WindowRenderTarget device, Color color, float x, float y, float width, float height, bool centered = false, float strokeWidth = 1f) { using (SolidColorBrush brush = new SolidColorBrush(device, color)) { device.DrawEllipse( new Ellipse( new Vector2( (centered ? x : x - width / 2f), (centered ? y : y - height / 2f) ), width / 2f, height / 2f ), brush, strokeWidth ); } }