public static class HostPopupWindow.Rect extends Object
Modifier and Type | Field and Description |
---|---|
int |
cx
The width of the rectangle.
|
int |
cy
The height of the rectangle.
|
int |
x
The X position of the rectangle.
|
int |
y
The 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.
© © Mindus SARL, 2024. All rights reserved.