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