public class

GeometryCollectionStyleBuilder

extends StyleBuilder
java.lang.Object
   ↳ com.carto.styles.StyleBuilder
     ↳ com.carto.styles.GeometryCollectionStyleBuilder

Class Overview

A builder class for GeometryCollectionStyle.

Summary

Public Constructors
GeometryCollectionStyleBuilder()
Constructs a GeometryCollectionStyleBuilder object with all parameters set to defaults.
Public Methods
GeometryCollectionStyle buildStyle()
Builds a new instance of the GeometryCollectionStyle object using previously set parameters.
synchronized void delete()
LineStyle getLineStyle()
Returns the line style.
PointStyle getPointStyle()
Returns the point style.
PolygonStyle getPolygonStyle()
Returns the polygon style.
void setLineStyle(LineStyle lineStyle)
Sets the style that will be used for drawing lines.
void setPointStyle(PointStyle pointStyle)
Sets the style that will be used for drawing points.
void setPolygonStyle(PolygonStyle polygonStyle)
Sets the style that will be used for drawing polygons.
[Expand]
Inherited Methods
From class com.carto.styles.StyleBuilder
From class java.lang.Object

Public Constructors

public GeometryCollectionStyleBuilder ()

Constructs a GeometryCollectionStyleBuilder object with all parameters set to defaults.

Public Methods

public GeometryCollectionStyle buildStyle ()

Builds a new instance of the GeometryCollectionStyle object using previously set parameters.

Returns
  • A new GeometryCollectionStyle object.

public synchronized void delete ()

public LineStyle getLineStyle ()

Returns the line style.

Returns
  • The line style.

public PointStyle getPointStyle ()

Returns the point style.

Returns
  • The point style.

public PolygonStyle getPolygonStyle ()

Returns the polygon style.

Returns
  • The polygon style.

public void setLineStyle (LineStyle lineStyle)

Sets the style that will be used for drawing lines. The default is null style.

Parameters
lineStyle The new line style.

public void setPointStyle (PointStyle pointStyle)

Sets the style that will be used for drawing points. The default is null style.

Parameters
pointStyle The new point style.

public void setPolygonStyle (PolygonStyle polygonStyle)

Sets the style that will be used for drawing polygons. The default is null style.

Parameters
polygonStyle The new polygon style.