Package com.google.earth.kml._2
Class PolygonType
java.lang.Object
com.google.earth.kml._2.ObjectType
com.google.earth.kml._2.GeometryType
com.google.earth.kml._2.PolygonType
<p>Java class for PolygonType complex type</p>.
<p>The following schema fragment specifies the expected content contained within this class.</p>
<pre>{@code
<complexType name="PolygonType">
<complexContent>
<extension base="{http://earth.google.com/kml/2.1}GeometryType">
<sequence>
<group ref="{http://earth.google.com/kml/2.1}geometryElements"/>
<element name="outerBoundaryIs" type="{http://earth.google.com/kml/2.1}boundaryType" minOccurs="0"/>
<element name="innerBoundaryIs" type="{http://earth.google.com/kml/2.1}boundaryType" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
}</pre>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AltitudeModeEnumprotected Booleanprotected List<BoundaryType> protected BoundaryTypeprotected BooleanFields inherited from class com.google.earth.kml._2.ObjectType
id, targetId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the altitudeMode property.Gets the value of the innerBoundaryIs property.Gets the value of the outerBoundaryIs property.Gets the value of the extrude property.Gets the value of the tessellate property.voidsetAltitudeMode(AltitudeModeEnum value) Sets the value of the altitudeMode property.voidsetExtrude(Boolean value) Sets the value of the extrude property.voidsetOuterBoundaryIs(BoundaryType value) Sets the value of the outerBoundaryIs property.voidsetTessellate(Boolean value) Sets the value of the tessellate property.Methods inherited from class com.google.earth.kml._2.ObjectType
getId, getTargetId, setId, setTargetId
-
Field Details
-
extrude
-
tessellate
-
altitudeMode
-
outerBoundaryIs
-
innerBoundaryIs
-
-
Constructor Details
-
PolygonType
public PolygonType()
-
-
Method Details
-
isExtrude
Gets the value of the extrude property.- Returns:
- possible object is
Boolean
-
setExtrude
Sets the value of the extrude property.- Parameters:
value- allowed object isBoolean
-
isTessellate
Gets the value of the tessellate property.- Returns:
- possible object is
Boolean
-
setTessellate
Sets the value of the tessellate property.- Parameters:
value- allowed object isBoolean
-
getAltitudeMode
Gets the value of the altitudeMode property.- Returns:
- possible object is
AltitudeModeEnum
-
setAltitudeMode
Sets the value of the altitudeMode property.- Parameters:
value- allowed object isAltitudeModeEnum
-
getOuterBoundaryIs
Gets the value of the outerBoundaryIs property.- Returns:
- possible object is
BoundaryType
-
setOuterBoundaryIs
Sets the value of the outerBoundaryIs property.- Parameters:
value- allowed object isBoundaryType
-
getInnerBoundaryIs
Gets the value of the innerBoundaryIs property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the innerBoundaryIs property.For example, to add a new item, do as follows:
getInnerBoundaryIs().add(newItem);
Objects of the following type(s) are allowed in the list
BoundaryType- Returns:
- The value of the innerBoundaryIs property.
-