MSFBalloonPopupButtonStyle
Objective-C
@interface MSFBalloonPopupButtonStyle : MSFStyle
Swift
class MSFBalloonPopupButtonStyle : MSFStyle
A style for balloon popup buttons. Contains attributes for configuring how the balloon popup is drawn on the screen.
-
Returns the width of the button. If this value is -1, then button width is calculated automatically based on button text.
Declaration
Objective-C
- (int)getButtonWidth;Swift
func getButtonWidth() -> Int32Return Value
The width of the button in dp.
-
Returns the corner radius of the button.
Declaration
Objective-C
- (int)getCornerRadius;Swift
func getCornerRadius() -> Int32Return Value
The corner radius of the button.
-
Returns the name of the text font.
Declaration
Objective-C
- (NSString *)getTextFontName;Swift
func getTextFontName() -> String!Return Value
The name of the text font.
-
Returns the size of the text font.
Declaration
Objective-C
- (int)getTextFontSize;Swift
func getTextFontSize() -> Int32Return Value
The size of the text font.
-
Returns the margins of the text.
Declaration
Objective-C
- (MSFBalloonPopupMargins *)getTextMargins;Swift
func getTextMargins() -> MSFBalloonPopupMargins!Return Value
The margins of the text.
-
Returns the width of the stroke surrounding the button.
Declaration
Objective-C
- (int)getStrokeWidth;Swift
func getStrokeWidth() -> Int32Return Value
The width of the stroke surrounding the button in dp.
-
Undocumented
Declaration
Objective-C
-(void)dealloc;Swift
func dealloc()