public ConnectionPoint(Surface surface, Control target, string name, Point location, Color color) : base(surface, target) { Name = name; Size = ConnectorGraphics.Size; this.MakeLocationRelativeTo(target, location.X, location.Y); _buffer = new GraphicsBuffer(Size); _buffer.Draw(x => { using (var b = new SolidBrush(color)) { x.FillEllipse(b, new Rectangle(Point.Empty, Size)); } }); }