[API] Add ImRect#set(ImRect) method

This commit is contained in:
SpaiR committed 2021-02-27 16:15:58 +02:00
1 parent b07160da15
commit d285bbfb34
1 file changed
+7
@@ -39,6 +39,13 @@ public final class ImRect implements Cloneable {
this(imRect.min, imRect.max);
}
public void set(final ImRect value) {
min.x = value.min.x;
min.y = value.min.y;
max.x = value.max.x;
max.y = value.max.y;
}
@Override
public String toString() {
return "ImRect{"