/*
* Geotoolkit - An Open Source Java GIS Toolkit
* http://www.geotoolkit.org
*
* (C) 2010, Geomatys
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*/
package org.geotoolkit.data.kml.model;
/**
* <p>This interface maps iconStyle element.</p>
*
* <pre>
* <element name="IconStyle" type="kml:IconStyleType" substitutionGroup="kml:AbstractColorStyleGroup"/>
*
* <complexType name="IconStyleType" final="#all">
* <complexContent>
* <extension base="kml:AbstractColorStyleType">
* <sequence>
* <element ref="kml:scale" minOccurs="0"/>
* <element ref="kml:heading" minOccurs="0"/>
* <element name="Icon" type="kml:BasicLinkType" minOccurs="0"/>
* <element ref="kml:hotSpot" minOccurs="0"/>
* <element ref="kml:IconStyleSimpleExtensionGroup" minOccurs="0" maxOccurs="unbounded"/>
* <element ref="kml:IconStyleObjectExtensionGroup" minOccurs="0" maxOccurs="unbounded"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
* <element name="IconStyleSimpleExtensionGroup" abstract="true" type="anySimpleType"/>
* <element name="IconStyleObjectExtensionGroup" abstract="true" substitutionGroup="kml:AbstractObjectGroup"/>
* </pre>
*
* @author Samuel Andrés
* @module
*/
public interface IconStyle extends AbstractColorStyle {
/**
*
* @return
*/
double getScale();
/**
*
* @return
*/
double getHeading();
/**
*
* @return
*/
BasicLink getIcon();
/**
*
* @return
*/
Vec2 getHotSpot();
/**
*
* @param scale
*/
void setScale(double scale);
/**
*
* @param heading
*/
void setHeading(double heading);
/**
*
* @param icon
*/
void setIcon(BasicLink icon);
/**
*
* @param hotSpot
*/
void setHotSpot(Vec2 hotSpot);
}