java.lang.Object | ||
↳ | com.carto.styles.StyleBuilder | |
↳ | com.carto.styles.PolygonStyleBuilder |
A builder class for PolygonStyle.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PolygonStyleBuilder()
Constructs a PolygonStyleBuilder object with all parameters set to defaults.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PolygonStyle |
buildStyle()
Builds a new instance of the PolygonStyle object using previously set parameters.
| ||||||||||
synchronized void | delete() | ||||||||||
LineStyle |
getLineStyle()
Returns the line style of the edges of the polygon.
| ||||||||||
void |
setLineStyle(LineStyle lineStyle)
Sets the line style that will be used to draw the edges of the polygon.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Constructs a PolygonStyleBuilder object with all parameters set to defaults.
Builds a new instance of the PolygonStyle object using previously set parameters.
Returns the line style of the edges of the polygon.
Sets the line style that will be used to draw the edges of the polygon. If null is passed
no edges will be drawn. The default is null.
lineStyle | The new style for the edges of the polygon. |
---|