de.micromata.opengis.kml.v_2_2_0.PolyStyle Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of JavaAPIforKml Show documentation
Show all versions of JavaAPIforKml Show documentation
This is JavaAPIforKMml, Micromata's library for use with applications that want to parse, generate and operate on KML. It is an implementation of the OGC KML 2.2 standard. It is written entirely in Java and makes heavy use of JAXB.
package de.micromata.opengis.kml.v_2_2_0;
import de.micromata.opengis.kml.v_2_2_0.annotations.Obvious;
import jakarta.xml.bind.annotation.*;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.util.ArrayList;
import java.util.List;
/**
* {@code }
* Syntax:
* <PolyStyle id="ID">
* <!-- inherited from ColorStyle -->
* <color>ffffffff</color> <!-- kml:color -->
* <colorMode>normal</colorMode> <!-- kml:colorModeEnum: normal or random -->
*
* <!-- specific to PolyStyle -->
* <fill>1</fill> <!-- boolean -->
* <outline>1</outline> <!-- boolean -->
* </PolyStyle>
*
* Extends:
*
*
* Contained By:
*
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PolyStyleType", propOrder = {
"fill",
"outline",
"polyStyleSimpleExtension",
"polyStyleObjectExtension"
})
@XmlRootElement(name = "PolyStyle", namespace = "http://www.opengis.net/kml/2.2")
public class PolyStyle
extends ColorStyle
implements Cloneable
{
/**
* {@code }
*
* Boolean value. Specifies whether to fill the polygon.
*
*
*
*
*/
@XmlElement(defaultValue = "1")
@XmlJavaTypeAdapter(BooleanConverter.class)
protected Boolean fill;
/**
* {@code }
*
* Boolean value. Specifies whether to outline the polygon. Polygon outlines use the
* current LineStyle.
*
*
*
*
*/
@XmlElement(defaultValue = "1")
@XmlJavaTypeAdapter(BooleanConverter.class)
protected Boolean outline;
@XmlElement(name = "PolyStyleSimpleExtensionGroup")
@XmlSchemaType(name = "anySimpleType")
protected List