gov.nasa.worldwind.ogc.kml.KMLPolyStyle Maven / Gradle / Ivy
The newest version!
/*
* Copyright (C) 2012 United States Government as represented by the Administrator of the
* National Aeronautics and Space Administration.
* All Rights Reserved.
*/
package gov.nasa.worldwind.ogc.kml;
/**
* Represents the KML PolyStyle element and provides access to its contents.
*
* @author tag
* @version $Id: KMLPolyStyle.java 1171 2013-02-11 21:45:02Z dcollins $
*/
public class KMLPolyStyle extends KMLAbstractColorStyle
{
/**
* Construct an instance.
*
* @param namespaceURI the qualifying namespace URI. May be null to indicate no namespace qualification.
*/
public KMLPolyStyle(String namespaceURI)
{
super(namespaceURI);
}
public Boolean getFill()
{
return (Boolean) this.getField("fill");
}
public boolean isFill()
{
return this.getFill() == null || this.getFill();
}
public Boolean getOutline()
{
return (Boolean) this.getField("outline");
}
public boolean isOutline()
{
return this.getOutline() == null || this.getOutline();
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy