Package com.massifmaps.styles
Class Polygon3DStyleBuilder
java.lang.Object
com.massifmaps.styles.StyleBuilder
com.massifmaps.styles.Polygon3DStyleBuilder
A builder class for Polygon3DStyle.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a Polygon3DStyleBuilder object with all parameters set to defaults. -
Method Summary
Modifier and TypeMethodDescriptionBuilds a new instance of the Polygon3DStyle object using previously set parameters.Returns the color of the 3d polygon sides.voidsetSideColor(Color sideColor) Sets the the color of the 3d polygon sides.Methods inherited from class com.massifmaps.styles.StyleBuilder
equals, getColor, hashCode, setColor
-
Constructor Details
-
Polygon3DStyleBuilder
public Polygon3DStyleBuilder()Constructs a Polygon3DStyleBuilder object with all parameters set to defaults.
-
-
Method Details
-
getSideColor
Returns the color of the 3d polygon sides.- Returns:
- The color of the 3d polygon sides.
-
setSideColor
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.
-
buildStyle
Builds a new instance of the Polygon3DStyle object using previously set parameters.- Returns:
- A new Polygon3DStyle object.
-