diff --git a/server/src/com/genymobile/scrcpy/Point.java b/server/src/com/genymobile/scrcpy/Point.java index 6e537108..ade349d1 100644 --- a/server/src/com/genymobile/scrcpy/Point.java +++ b/server/src/com/genymobile/scrcpy/Point.java @@ -30,4 +30,13 @@ public class Point { return screenHeight; } + @Override + public String toString() { + return "Point{" + + "x=" + x + + ", y=" + y + + ", screenWidth=" + screenWidth + + ", screenHeight=" + screenHeight + + '}'; + } } diff --git a/server/src/com/genymobile/scrcpy/RawPoint.java b/server/src/com/genymobile/scrcpy/RawPoint.java index e1b8d921..d9ac5c8e 100644 --- a/server/src/com/genymobile/scrcpy/RawPoint.java +++ b/server/src/com/genymobile/scrcpy/RawPoint.java @@ -17,4 +17,11 @@ public class RawPoint { return y; } + @Override + public String toString() { + return "RawPoint{" + + "x=" + x + + ", y=" + y + + '}'; + } }