java.lang.Object | ||
↳ | com.carto.styles.Style | |
↳ | com.carto.styles.BalloonPopupButtonStyle |
A style for balloon popup buttons. 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 button.
| ||||||||||
int |
getButtonWidth()
Returns the width of the button.
| ||||||||||
int |
getCornerRadius()
Returns the corner radius of the button.
| ||||||||||
Color |
getStrokeColor()
Returns the color of the stroke surrounding the button.
| ||||||||||
int |
getStrokeWidth()
Returns the width of the stroke surrounding the button.
| ||||||||||
Color |
getTextColor()
Returns the color of the text.
| ||||||||||
String |
getTextFontName()
Returns the name of the text font.
| ||||||||||
int |
getTextFontSize()
Returns the size of the text font.
| ||||||||||
BalloonPopupMargins |
getTextMargins()
Returns the margins of the text.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Returns 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.
Returns the corner radius of the button.
Returns the color of the stroke surrounding the button.
Returns the width of the stroke surrounding the button.
Returns the name of the text font.
Returns the size of the text font.
Returns the margins of the text.