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 background color of the button.

    Declaration

    Objective-C

    - (MSFColor *)getBackgroundColor;

    Swift

    func getBackgroundColor() -> MSFColor!

    Return Value

    The background color of the button.

  • 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() -> Int32

    Return Value

    The width of the button in dp.

  • Returns the corner radius of the button.

    Declaration

    Objective-C

    - (int)getCornerRadius;

    Swift

    func getCornerRadius() -> Int32

    Return Value

    The corner radius of the button.

  • Returns the color of the text.

    Declaration

    Objective-C

    - (MSFColor *)getTextColor;

    Swift

    func getTextColor() -> MSFColor!

    Return Value

    The color of the text.

  • 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() -> Int32

    Return 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 color of the stroke surrounding the button.

    Declaration

    Objective-C

    - (MSFColor *)getStrokeColor;

    Swift

    func getStrokeColor() -> MSFColor!

    Return Value

    The color of the stroke surrounding the button.

  • Returns the width of the stroke surrounding the button.

    Declaration

    Objective-C

    - (int)getStrokeWidth;

    Swift

    func getStrokeWidth() -> Int32

    Return Value

    The width of the stroke surrounding the button in dp.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;

    Swift

    func dealloc()