public static class HostPopupWindow.Rect extends Object
| Modifier and Type | Field and Description |
|---|---|
int | cxThe width of the rectangle. |
int | cyThe height of the rectangle. |
int | xThe X position of the rectangle. |
int | yThe Y position of the rectangle. |
| Constructor and Description |
|---|
Rect()Constructor. |
Rect(int x, int y, int cx, int cy)Constructor. |
| Modifier and Type | Method and Description |
|---|---|
boolean | contains(HostPopupWindow.Rect other)This methods checks if this rectangle contains another rectangle. |
boolean | contains(int x, int y)This methods checks if this rectangle contains the indicated position. |
HostPopupWindow.Rect | copy()Copy method. |
boolean | equals(HostPopupWindow.Rect rect)This methods checks if two rectangles are equal. |
public int x
public int y
public int cx
public int cy
public Rect(int x,
int y,
int cx,
int cy)x -y -cx -cy -public Rect()
public boolean equals(HostPopupWindow.Rect rect)
rect -public boolean contains(int x,
int y)public boolean contains(HostPopupWindow.Rect other)
public HostPopupWindow.Rect copy()
Phantom® and NetPhantom® are registered trademarks of Mindus SARL.
© 2026 Mindus SARL. All rights reserved.