public class

Polygon3DStyleBuilder

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

Class Overview

A builder class for Polygon3DStyle.

Summary

Public Constructors
Polygon3DStyleBuilder()
Constructs a Polygon3DStyleBuilder object with all parameters set to defaults.
Public Methods
Polygon3DStyle buildStyle()
Builds a new instance of the Polygon3DStyle object using previously set parameters.
synchronized void delete()
Color getSideColor()
Returns the color of the 3d polygon sides.
void setSideColor(Color sideColor)
Sets the the color of the 3d polygon sides.
[Expand]
Inherited Methods
From class com.carto.styles.StyleBuilder
From class java.lang.Object

Public Constructors

public Polygon3DStyleBuilder ()

Constructs a Polygon3DStyleBuilder object with all parameters set to defaults.

Public Methods

public Polygon3DStyle buildStyle ()

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

Returns
  • A new Polygon3DStyle object.

public synchronized void delete ()

public Color getSideColor ()

Returns the color of the 3d polygon sides.

Returns
  • The color of the 3d polygon sides.

public void setSideColor (Color sideColor)

Sets the the color of the 3d polygon sides. The side color is also affected by lighting settings,
so that sides with different orientation are distinguishable.

Parameters
sideColor The new color for the 3d polygon sides.