com.partnersoft.formats.kml
Class KmlLineStyle
java.lang.Object
com.partnersoft.formats.kml.KmlStyle
com.partnersoft.formats.kml.KmlLineStyle
- All Implemented Interfaces:
- KmlObject
public class KmlLineStyle
- extends KmlStyle
Copyright 2008 Partner Software, Inc.
- Version:
- $Id$
- Author:
- Rich Stepanski
|
Method Summary |
double |
getLineWidth()
|
void |
setLineWidth(double lineWidth)
Width of line in pixels. |
void |
write(XmlBuilder writer)
Object writes itself to the passed writer in the correct format for
the object based on it's fields. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KmlLineStyle
public KmlLineStyle(java.lang.String id,
java.lang.String color,
double lineWidth)
- Parameters:
id - color - lineWidth -
KmlLineStyle
public KmlLineStyle()
write
public void write(XmlBuilder writer)
throws java.io.IOException
- Description copied from interface:
KmlObject
- Object writes itself to the passed writer in the correct format for
the object based on it's fields.
- Specified by:
write in interface KmlObject- Overrides:
write in class KmlStyle
- Parameters:
writer - - Writer to write kml to.
- Throws:
java.io.IOException - - Thrown if an error occurs while writing.
getLineWidth
public double getLineWidth()
setLineWidth
public void setLineWidth(double lineWidth)
- Width of line in pixels.
- Parameters:
lineWidth -