Class BalloonPopupButtonStyle

java.lang.Object
com.massifmaps.styles.Style
com.massifmaps.styles.BalloonPopupButtonStyle

public class BalloonPopupButtonStyle extends Style
A style for balloon popup buttons. Contains attributes for configuring how the balloon popup is drawn on the screen.
  • Method Details

    • getBackgroundColor

      public Color getBackgroundColor()
      Returns the background color of the button.
      Returns:
      The background color of the button.
    • getButtonWidth

      public int getButtonWidth()
      Returns the width of the button.
      If this value is -1, then button width is calculated automatically based on button text.
      Returns:
      The width of the button in dp.
    • getCornerRadius

      public int getCornerRadius()
      Returns the corner radius of the button.
      Returns:
      The corner radius of the button.
    • getTextColor

      public Color getTextColor()
      Returns the color of the text.
      Returns:
      The color of the text.
    • getTextFontName

      public String getTextFontName()
      Returns the name of the text font.
      Returns:
      The name of the text font.
    • getTextFontSize

      public int getTextFontSize()
      Returns the size of the text font.
      Returns:
      The size of the text font.
    • getTextMargins

      public BalloonPopupMargins getTextMargins()
      Returns the margins of the text.
      Returns:
      The margins of the text.
    • getStrokeColor

      public Color getStrokeColor()
      Returns the color of the stroke surrounding the button.
      Returns:
      The color of the stroke surrounding the button.
    • getStrokeWidth

      public int getStrokeWidth()
      Returns the width of the stroke surrounding the button.
      Returns:
      The width of the stroke surrounding the button in dp.