MSFPopupDrawInfo
Objective-C
@interface MSFPopupDrawInfo : NSObject {
void *swigCPtr;
BOOL swigCMemOwn;
}
Swift
class MSFPopupDrawInfo : NSObject
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;Swift
func isEqual(_ object: Any!) -> BoolParameters
objectThe reference object.
Return Value
True when objects are equal, false otherwise.
-
Returns the hash value of this object.
Declaration
Objective-C
- (NSUInteger)hash;Swift
func hash() -> UIntReturn Value
The hash value of this object.
-
Constructs a PopupClickInfo object from a click position and a vector element.
Declaration
Objective-C
- (id)initWithAnchorScreenPos:(MSFScreenPos *)anchorScreenPos screenBounds:(MSFScreenBounds *)screenBounds popup:(MSFPopup *)popup dpToPX:(float)dpToPX;Swift
init!(anchorScreenPos: MSFScreenPos!, screenBounds: MSFScreenBounds!, popup: MSFPopup!, dpToPX: Float)Parameters
anchorScreenPosThe screen position of the anchor point of this popup in pixels.
screenBoundsThe screen bounds for clipping the popup.
popupThe popup on which the click was performed.
dpToPXThe 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
- (MSFScreenPos *)getAnchorScreenPos;Swift
func getAnchorScreenPos() -> MSFScreenPos!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
- (MSFScreenBounds *)getScreenBounds;Swift
func getScreenBounds() -> MSFScreenBounds!Return Value
The screen bounds in pixels.
-
Returns the value used for converting display independent pixels (dp) to pixels (px).
Declaration
Objective-C
- (float)getDPToPX;Swift
func getDPToPX() -> FloatReturn Value
The value used for converting display independent pixels (dp) to pixels (px).
-
Undocumented
Declaration
Objective-C
-(void)dealloc;Swift
func dealloc()