Class

com.scalakml.kml

PolyStyle

Related Doc: package kml

Permalink

case class PolyStyle(fill: Option[Boolean] = None, outline: Option[Boolean] = None, color: Option[HexColor] = None, colorMode: Option[ColorMode] = None, id: Option[String] = None, targetId: Option[String] = None, polyStyleSimpleExtensionGroup: Seq[Any] = Nil, polyStyleObjectExtensionGroup: Seq[Any] = Nil, colorStyleSimpleExtensionGroup: Seq[Any] = Nil, colorStyleObjectExtensionGroup: Seq[Any] = Nil, subStyleSimpleExtensionGroup: Seq[Any] = Nil, subStyleObjectExtensionGroup: Seq[Any] = Nil, objectSimpleExtensionGroup: Seq[Any] = Nil) extends ColorStyle with Product with Serializable

Specifies the drawing style for all polygons, including polygon extrusions (which look like the walls of buildings) and line extrusions (which look like solid fences).

fill

Boolean value. Specifies whether to fill the polygon.

outline

Boolean value. Specifies whether to outline the polygon. Polygon outlines use the current LineStyle.

color

Color and opacity (alpha) values are expressed in hexadecimal notation. The range of values for any one color is 0 to 255 (00 to ff). For alpha, 00 is fully transparent and ff is fully opaque. The order of expression is aabbggrr, where aa=alpha (00 to ff); bb=blue (00 to ff); gg=green (00 to ff); rr=red (00 to ff). For example, if you want to apply a blue color with 50 percent opacity to an overlay, you would specify the following: <color>7fff0000</color>, where alpha=0x7f, blue=0xff, green=0x00, and red=0x00.

colorMode

Values for <colorMode> are normal (no effect) and random. A value of random applies a random linear scale to the base <color> as follows. To achieve a truly random selection of colors, specify a base <color> of white (ffffffff). If you specify a single color component (for example, a value of ff0000ff for red), random color values for that one component (red) will be selected. In this case, the values would range from 00 (black) to ff (full red). If you specify values for two or for all three color components, a random linear scale is applied to each color component, with results ranging from black to the maximum values specified for each component. The opacity of a color comes from the alpha component of <color> and is never randomized.

Linear Supertypes
Serializable, Serializable, Product, Equals, ColorStyle, SubStyle, KmlObject, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PolyStyle
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ColorStyle
  7. SubStyle
  8. KmlObject
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PolyStyle(fill: Boolean, outLine: Boolean, color: HexColor, colorMode: ColorMode)

    Permalink
  2. new PolyStyle(fill: Boolean, outLine: Boolean)

    Permalink
  3. new PolyStyle(fill: Boolean)

    Permalink
  4. new PolyStyle(color: HexColor)

    Permalink
  5. new PolyStyle(fill: Option[Boolean] = None, outline: Option[Boolean] = None, color: Option[HexColor] = None, colorMode: Option[ColorMode] = None, id: Option[String] = None, targetId: Option[String] = None, polyStyleSimpleExtensionGroup: Seq[Any] = Nil, polyStyleObjectExtensionGroup: Seq[Any] = Nil, colorStyleSimpleExtensionGroup: Seq[Any] = Nil, colorStyleObjectExtensionGroup: Seq[Any] = Nil, subStyleSimpleExtensionGroup: Seq[Any] = Nil, subStyleObjectExtensionGroup: Seq[Any] = Nil, objectSimpleExtensionGroup: Seq[Any] = Nil)

    Permalink

    fill

    Boolean value. Specifies whether to fill the polygon.

    outline

    Boolean value. Specifies whether to outline the polygon. Polygon outlines use the current LineStyle.

    color

    Color and opacity (alpha) values are expressed in hexadecimal notation. The range of values for any one color is 0 to 255 (00 to ff). For alpha, 00 is fully transparent and ff is fully opaque. The order of expression is aabbggrr, where aa=alpha (00 to ff); bb=blue (00 to ff); gg=green (00 to ff); rr=red (00 to ff). For example, if you want to apply a blue color with 50 percent opacity to an overlay, you would specify the following: <color>7fff0000</color>, where alpha=0x7f, blue=0xff, green=0x00, and red=0x00.

    colorMode

    Values for <colorMode> are normal (no effect) and random. A value of random applies a random linear scale to the base <color> as follows. To achieve a truly random selection of colors, specify a base <color> of white (ffffffff). If you specify a single color component (for example, a value of ff0000ff for red), random color values for that one component (red) will be selected. In this case, the values would range from 00 (black) to ff (full red). If you specify values for two or for all three color components, a random linear scale is applied to each color component, with results ranging from black to the maximum values specified for each component. The opacity of a color comes from the alpha component of <color> and is never randomized.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val color: Option[HexColor]

    Permalink

    Color and opacity (alpha) values are expressed in hexadecimal notation.

    Color and opacity (alpha) values are expressed in hexadecimal notation. The range of values for any one color is 0 to 255 (00 to ff). For alpha, 00 is fully transparent and ff is fully opaque. The order of expression is aabbggrr, where aa=alpha (00 to ff); bb=blue (00 to ff); gg=green (00 to ff); rr=red (00 to ff). For example, if you want to apply a blue color with 50 percent opacity to an overlay, you would specify the following: <color>7fff0000</color>, where alpha=0x7f, blue=0xff, green=0x00, and red=0x00.

    Definition Classes
    PolyStyleColorStyle
  7. val colorMode: Option[ColorMode]

    Permalink

    Values for <colorMode> are normal (no effect) and random.

    Values for <colorMode> are normal (no effect) and random. A value of random applies a random linear scale to the base <color> as follows. To achieve a truly random selection of colors, specify a base <color> of white (ffffffff). If you specify a single color component (for example, a value of ff0000ff for red), random color values for that one component (red) will be selected. In this case, the values would range from 00 (black) to ff (full red). If you specify values for two or for all three color components, a random linear scale is applied to each color component, with results ranging from black to the maximum values specified for each component. The opacity of a color comes from the alpha component of <color> and is never randomized.

    Definition Classes
    PolyStyleColorStyle
  8. val colorStyleObjectExtensionGroup: Seq[Any]

    Permalink
    Definition Classes
    PolyStyleColorStyle
  9. val colorStyleSimpleExtensionGroup: Seq[Any]

    Permalink
    Definition Classes
    PolyStyleColorStyle
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. val fill: Option[Boolean]

    Permalink

    Boolean value.

    Boolean value. Specifies whether to fill the polygon.

  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. val id: Option[String]

    Permalink
    Definition Classes
    PolyStyleKmlObject
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. val objectSimpleExtensionGroup: Seq[Any]

    Permalink
    Definition Classes
    PolyStyleKmlObject
  20. val outline: Option[Boolean]

    Permalink

    Boolean value.

    Boolean value. Specifies whether to outline the polygon. Polygon outlines use the current LineStyle.

  21. val polyStyleObjectExtensionGroup: Seq[Any]

    Permalink
  22. val polyStyleSimpleExtensionGroup: Seq[Any]

    Permalink
  23. val subStyleObjectExtensionGroup: Seq[Any]

    Permalink
    Definition Classes
    PolyStyleSubStyle
  24. val subStyleSimpleExtensionGroup: Seq[Any]

    Permalink
    Definition Classes
    PolyStyleSubStyle
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. val targetId: Option[String]

    Permalink
    Definition Classes
    PolyStyleKmlObject
  27. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ColorStyle

Inherited from SubStyle

Inherited from KmlObject

Inherited from AnyRef

Inherited from Any

Ungrouped