NTPopupDrawInfo
@interface NTPopupDrawInfo : NSObject {
void *swigCPtr;
BOOL swigCMemOwn;
}
A container class that provides information how to draw the popup.
-
Checks if this object is equal to the specified object.
Declaration
Objective-C
- (BOOL)isEqual:(id)object;
Parameters
object
The reference object.
Return Value
True when objects are equal, false otherwise.
-
Returns the hash value of this object.
Declaration
Objective-C
- (NSUInteger)hash;
Return Value
The hash value of this object.
-
Constructs a PopupClickInfo object from a click position and a vector element.
Declaration
Objective-C
- (id)initWithAnchorScreenPos:(NTScreenPos *)anchorScreenPos screenBounds:(NTScreenBounds *)screenBounds popup:(NTPopup *)popup dpToPX:(float)dpToPX;
Parameters
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).
-
Returns the screen position of the anchor point of this popup in pixels.
Declaration
Objective-C
- (NTScreenPos *)getAnchorScreenPos;
Return Value
The screen position of the anchor point of this popup in pixels.
-
Returns the screen bounds, so that the popup can be clipped if neccessary.
Declaration
Objective-C
- (NTScreenBounds *)getScreenBounds;
Return Value
The screen bounds in pixels.
-
Returns the popup to draw.
Declaration
Objective-C
- (NTPopup *)getPopup;
Return Value
The popup to draw.
-
Returns the value used for converting display independent pixels (dp) to pixels (px).
Declaration
Objective-C
- (float)getDPToPX;
Return Value
The value used for converting display independent pixels (dp) to pixels (px).
-
Undocumented
Declaration
Objective-C
-(void)dealloc;