Class Polygon3DStyleBuilder

java.lang.Object
com.massifmaps.styles.StyleBuilder
com.massifmaps.styles.Polygon3DStyleBuilder

public class Polygon3DStyleBuilder extends StyleBuilder
A builder class for Polygon3DStyle.
  • Constructor Details

    • Polygon3DStyleBuilder

      public Polygon3DStyleBuilder()
      Constructs a Polygon3DStyleBuilder object with all parameters set to defaults.
  • Method Details

    • getSideColor

      public Color getSideColor()
      Returns the color of the 3d polygon sides.
      Returns:
      The color of the 3d polygon sides.
    • setSideColor

      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.
    • buildStyle

      public Polygon3DStyle buildStyle()
      Builds a new instance of the Polygon3DStyle object using previously set parameters.
      Returns:
      A new Polygon3DStyle object.