protected override void Paint(PPaintContext paintContext) { Graphics2D g = paintContext.Graphics; if (Brush != null) { g.FillEllipse(Brush, Bounds); } if (pen != null) { g.DrawEllipse(pen, Bounds); } }