|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ohf.stem.ui.ge.kml.Style
public class Style
Build the Style section of a KML document.
Constructor Summary | |
---|---|
Style(org.w3c.dom.Document doc)
Style constructor |
|
Style(org.w3c.dom.Document doc,
java.lang.String id)
Style constructor |
Method Summary | |
---|---|
org.w3c.dom.Element |
getElement()
|
java.lang.String |
getId()
|
void |
setLineStyle(double width)
Add LineStyle to the Style section |
void |
setLineStyle(float width,
java.lang.String color)
Add LineStyle to the Style section Color is of hexidecimal form oobbggrr where: oo is 00-ff opacity value bb is 00-ff blue gg is 00-ff green rr is 00-ff red so 7fff0000 is Blue with 50% opacity |
void |
setPolyStyle(java.lang.String color,
boolean outline)
Add PolyStyle to the Style section |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Style(org.w3c.dom.Document doc)
doc
- public Style(org.w3c.dom.Document doc, java.lang.String id)
doc
- id
- Method Detail |
---|
public org.w3c.dom.Element getElement()
public java.lang.String getId()
public void setLineStyle(float width, java.lang.String color)
width
- line width (e.g. 3.0)color
- line color (e.g. 7d00ffff)public void setLineStyle(double width)
width
- line width (e.g. 3.0)public void setPolyStyle(java.lang.String color, boolean outline)
color
- KML coloroutline
- true if outline option to be added
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |