internal bool Draw(Graphics graphics, Platelet platelet, Point mousePosition) { var x = _positions.OrderBy(p => { #warning name to long return(p.CalculateMinimumInnerCornerDistance(mousePosition)); }); var best = x.FirstOrDefault(); return(platelet.Draw(graphics, best)); }
public bool Draw(Graphics g, Platelet platelet, int fieldIndex) { return(platelet.Draw(g, _positions[fieldIndex])); }