/// <summary> /// Returns true if the given object equals this point. /// </summary> /// <returns>Returns true if obj is equal.</returns> new public Boolean Equals(Object obj) { if (obj is mxPoint) { mxPoint pt = (mxPoint)obj; return(pt.X == X && pt.Y == Y); } return(false); }
/// <summary> /// Constructs a new point at the location of the given point. /// </summary> /// <param name="point">Point that specifies the location.</param> public mxPoint(mxPoint point) : this(point.X, point.Y) { }