Class BalloonPopupStyle


public class BalloonPopupStyle extends PopupStyle
A style for balloon popups. 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 popup.
      Returns:
      The background color of the popup.
    • getCornerRadius

      public int getCornerRadius()
      Returns the corner radius of the popup.
      Returns:
      The corner radius of the popup.
    • getLeftColor

      public Color getLeftColor()
      Returns the background color of the left part of the popup.
      Returns:
      The background color of the left part of the popup.
    • getLeftImage

      public Bitmap getLeftImage()
      Returns the image of the left part of the popup.
      Returns:
      The image of the left part of the popup.
    • getLeftMargins

      public BalloonPopupMargins getLeftMargins()
      Returns the margins of the left part of the popup.
      Returns:
      The margins of the left part of the popup.
    • getRightColor

      public Color getRightColor()
      Returns the background color of the right part of the popup.
      Returns:
      The background color of the right part of the popup.
    • getRightImage

      public Bitmap getRightImage()
      Returns the image of the right part of the popup.
      Returns:
      The image of the right part of the popup.
    • getRightMargins

      public BalloonPopupMargins getRightMargins()
      Returns the margins of the right part of the popup.
      Returns:
      The margins of the right part of the popup.
    • getTitleColor

      public Color getTitleColor()
      Returns the color of the title.
      Returns:
      The color of the title.
    • getTitleFontName

      public String getTitleFontName()
      Returns the name of the title font.
      Returns:
      The name of the title font.
    • getTitleField

      public String getTitleField()
      Returns the title field variable to use.
      Returns:
      The title field variable.
    • getTitleFontSize

      public int getTitleFontSize()
      Returns the size of the title font.
      Returns:
      The size of the title font.
    • getTitleMargins

      public BalloonPopupMargins getTitleMargins()
      Returns the margins of the title.
      Returns:
      The margins of the title.
    • isTitleWrap

      public boolean isTitleWrap()
      Returns the state of the title wrap parameter.
      Returns:
      True if long titles are wrapped, false if it is truncated.
    • getDescriptionColor

      public Color getDescriptionColor()
      Returns the color of the description.
      Returns:
      The color of the description.
    • getDescriptionFontName

      public String getDescriptionFontName()
      Returns the name of the description font.
      Returns:
      The name of the description font.
    • getDescriptionField

      public String getDescriptionField()
      Returns the description field variable to use.
      Returns:
      The description field variable.
    • getDescriptionFontSize

      public int getDescriptionFontSize()
      Returns the size of the description font.
      Returns:
      The size of the description font.
    • getDescriptionMargins

      public BalloonPopupMargins getDescriptionMargins()
      Returns the margins of the description.
      Returns:
      The margins of the description.
    • isDescriptionWrap

      public boolean isDescriptionWrap()
      Returns the state of the description wrap parameter.
      Returns:
      True if long descriptions are wrapped, false if it is truncated.
    • getButtonMargins

      public BalloonPopupMargins getButtonMargins()
      Returns the margins for the buttons of the popup.
      Returns:
      The margins for the buttons of the popup.
    • getStrokeColor

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

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

      public int getTriangleWidth()
      Returns the width of the triangle at the bottom of the popup.
      Returns:
      The width of the triangle at the bottom of the popup in dp.
    • getTriangleHeight

      public int getTriangleHeight()
      Returns the height of the triangle at the bottom of the popup.
      Returns:
      The height of the triangle at the bottom of the popup in dp.