public bool AddStamp(Stamp s) { if (HasStamp(s.Location)) return false; stamps.Add(s); return true; }
public Stamp AddStamp(MarkerType m, int size, Point p) { if (m == MarkerType.None || HasStamp(p)) return null; Stamp stamp = new Stamp(p, size, m); stamps.Add(stamp); return stamp; }
public bool AddStamp(Stamp s) { if (HasStamp(s.Location)) { return(false); } stamps.Add(s); return(true); }
public Stamp AddStamp(MarkerType m, int size, Point p) { if (m == MarkerType.None || HasStamp(p)) { return(null); } Stamp stamp = new Stamp(p, size, m); stamps.Add(stamp); return(stamp); }