public bool GreaterThan(TextPoint Point) { CodeDomTextPoint tp = Point as CodeDomTextPoint; if (tp == null) { return(false); } return(tp.y < y || (tp.y == y && tp.x < x)); }
public bool LessThan(TextPoint Point) { CodeDomTextPoint tp = Point as CodeDomTextPoint; if (tp == null) { return(false); } return(tp.y > y || (tp.y == y && tp.x > x)); }
public bool EqualTo(TextPoint Point) { CodeDomTextPoint tp = Point as CodeDomTextPoint; if (tp == null) { return(false); } return(tp.x == x && tp.y == y); }