java.lang.Object | ||||
↳ | com.carto.styles.Style | |||
↳ | com.carto.styles.BillboardStyle | |||
↳ | com.carto.styles.PopupStyle | |||
↳ | com.carto.styles.BalloonPopupStyle |
A style for balloon popups. Contains attributes for configuring how the balloon popup is drawn on the screen.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
synchronized void | delete() | ||||||||||
Color |
getBackgroundColor()
Returns the background color of the popup.
| ||||||||||
BalloonPopupMargins |
getButtonMargins()
Returns the margins for the buttons of the popup.
| ||||||||||
int |
getCornerRadius()
Returns the corner radius of the popup.
| ||||||||||
Color |
getDescriptionColor()
Returns the color of the description.
| ||||||||||
String |
getDescriptionField()
Returns the description field variable to use.
| ||||||||||
String |
getDescriptionFontName()
Returns the name of the description font.
| ||||||||||
int |
getDescriptionFontSize()
Returns the size of the description font.
| ||||||||||
BalloonPopupMargins |
getDescriptionMargins()
Returns the margins of the description.
| ||||||||||
Color |
getLeftColor()
Returns the background color of the left part of the popup.
| ||||||||||
Bitmap |
getLeftImage()
Returns the image of the left part of the popup.
| ||||||||||
BalloonPopupMargins |
getLeftMargins()
Returns the margins of the left part of the popup.
| ||||||||||
Color |
getRightColor()
Returns the background color of the right part of the popup.
| ||||||||||
Bitmap |
getRightImage()
Returns the image of the right part of the popup.
| ||||||||||
BalloonPopupMargins |
getRightMargins()
Returns the margins of the right part of the popup.
| ||||||||||
Color |
getStrokeColor()
Returns the color of the stroke surrounding the popup.
| ||||||||||
int |
getStrokeWidth()
Returns the width of the stroke surrounding the popup.
| ||||||||||
Color |
getTitleColor()
Returns the color of the title.
| ||||||||||
String |
getTitleField()
Returns the title field variable to use.
| ||||||||||
String |
getTitleFontName()
Returns the name of the title font.
| ||||||||||
int |
getTitleFontSize()
Returns the size of the title font.
| ||||||||||
BalloonPopupMargins |
getTitleMargins()
Returns the margins of the title.
| ||||||||||
int |
getTriangleHeight()
Returns the height of the triangle at the bottom of the popup.
| ||||||||||
int |
getTriangleWidth()
Returns the width of the triangle at the bottom of the popup.
| ||||||||||
boolean |
isDescriptionWrap()
Returns the state of the description wrap parameter.
| ||||||||||
boolean |
isTitleWrap()
Returns the state of the title wrap parameter.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Returns the background color of the popup.
Returns the margins for the buttons of the popup.
Returns the corner radius of the popup.
Returns the color of the description.
Returns the description field variable to use.
Returns the name of the description font.
Returns the size of the description font.
Returns the margins of the description.
Returns the background color of the left part of the popup.
Returns the image of the left part of the popup.
Returns the margins of the left part of the popup.
Returns the background color of the right part of the popup.
Returns the image of the right part of the popup.
Returns the margins of the right part of the popup.
Returns the color of the stroke surrounding the popup.
Returns the width of the stroke surrounding the popup.
Returns the title field variable to use.
Returns the name of the title font.
Returns the size of the title font.
Returns the margins of the title.
Returns the height of the triangle at the bottom of the popup.
Returns the width of the triangle at the bottom of the popup.
Returns the state of the description wrap parameter.
Returns the state of the title wrap parameter.