|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdip.world.variant.data.Symbol
A Symbol
Field Summary | |
static float |
IDENTITY_SCALE
Default (identity) scale factor |
Constructor Summary | |
Symbol(java.lang.String name,
float scale,
org.w3c.dom.Element svgData)
Create a new Symbol. |
Method Summary | |
java.lang.String |
getName()
Gets the Symbol name. |
float |
getScale()
Returns the scaling factor (IDENTITY_SCALE is the default) |
org.w3c.dom.Element |
getSVGData()
Returns the SVG group of symbol definition with an identical id attribute as the Symbol name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final float IDENTITY_SCALE
Constructor Detail |
public Symbol(java.lang.String name, float scale, org.w3c.dom.Element svgData)
Scale value must be a positive non-zero floating-point value. A value of 1.0f (IDENTITY_SCALE) should be the default.
Method Detail |
public java.lang.String getName()
public float getScale()
public org.w3c.dom.Element getSVGData()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |