java.lang.Object | |
↳ | com.carto.ui.PopupDrawInfo |
A container class that provides information how to draw the popup.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PopupDrawInfo(ScreenPos anchorScreenPos, ScreenBounds screenBounds, Popup popup, float dpToPX)
Constructs a PopupClickInfo object from a click position and a vector element.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
synchronized void | delete() | ||||||||||
boolean |
equals(Object obj)
Checks if this object is equal to the specified object.
| ||||||||||
ScreenPos |
getAnchorScreenPos()
Returns the screen position of the anchor point of this popup in pixels.
| ||||||||||
float |
getDPToPX()
Returns the value used for converting display independent pixels (dp) to pixels (px).
| ||||||||||
Popup |
getPopup()
Returns the popup to draw.
| ||||||||||
ScreenBounds |
getScreenBounds()
Returns the screen bounds, so that the popup can be clipped if neccessary.
| ||||||||||
int |
hashCode()
Returns the hash value of this object.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Constructs a PopupClickInfo object from a click position and a vector element.
anchorScreenPos | The screen position of the anchor point of this popup in pixels. |
---|---|
screenBounds | The screen bounds for clipping the popup. |
popup | The popup on which the click was performed. |
dpToPX | The value used for converting display independent pixels (dp) to pixels (px). |
Checks if this object is equal to the specified object.
obj | The reference object. |
---|
Returns the screen position of the anchor point of this popup in pixels.
Returns the value used for converting display independent pixels (dp) to pixels (px).
Returns the screen bounds, so that the popup can be clipped if neccessary.
Returns the hash value of this object.