public bool IsInside(RelativeRect Size) { if (Dot) { return(Size.Contains(X, Y)); } else { return(Size.Contains(X, Y) && Size.Contains(EndX, EndY)); } }