NTBalloonPopupButtonStyle


@interface NTBalloonPopupButtonStyle : NTStyle

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

    - (NTColor *)getBackgroundColor;

    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;

    Return Value

    The width of the button in dp.

  • Returns the corner radius of the button.

    Declaration

    Objective-C

    - (int)getCornerRadius;

    Return Value

    The corner radius of the button.

  • Returns the color of the text.

    Declaration

    Objective-C

    - (NTColor *)getTextColor;

    Return Value

    The color of the text.

  • Returns the name of the text font.

    Declaration

    Objective-C

    - (NSString *)getTextFontName;

    Return Value

    The name of the text font.

  • Returns the size of the text font.

    Declaration

    Objective-C

    - (int)getTextFontSize;

    Return Value

    The size of the text font.

  • Returns the margins of the text.

    Declaration

    Objective-C

    - (NTBalloonPopupMargins *)getTextMargins;

    Return Value

    The margins of the text.

  • Returns the color of the stroke surrounding the button.

    Declaration

    Objective-C

    - (NTColor *)getStrokeColor;

    Return Value

    The color of the stroke surrounding the button.

  • Returns the width of the stroke surrounding the button.

    Declaration

    Objective-C

    - (int)getStrokeWidth;

    Return Value

    The width of the stroke surrounding the button in dp.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;