|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectStyle
Style2D
IconStyle2D
public class IconStyle2D
Represents a Style2D
backed by an Icon
Field Summary |
---|
Fields inherited from class Style |
---|
maxScale, minScale |
Constructor Summary | |
---|---|
IconStyle2D(Icon icon,
Object feature,
float displacementX,
float displacementY,
float rotation,
Composite composite)
Constructor. |
Method Summary | |
---|---|
Composite |
getComposite()
The icon composite |
float |
getDisplacementX()
The icon x displacement |
float |
getDisplacementY()
The icon y displacement |
Icon |
getIcon()
Returns the icon backing this style |
float |
getRotation()
The Icon rotation, in radians. |
void |
setComposite(Composite composite)
|
void |
setDisplacementX(float displacementX)
|
void |
setDisplacementY(float displacementY)
|
void |
setIcon(Icon icon)
|
void |
setRotation(float rotation)
|
Methods inherited from class Style |
---|
clone, getMaxScale, getMinScale, isScaleInRange, setMinMaxScale |
Methods inherited from class Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IconStyle2D(Icon icon, Object feature, float displacementX, float displacementY, float rotation, Composite composite)
renderer
- GlyphRenderer to be used for rendering this GlyphStyle2Dgraphic
- Graphic for defining the glyph.externalGraphic
- ExternalGraphic for defining the glyph.The
- rotation of the iconThe
- opacity of the iconMethod Detail |
---|
public float getRotation()
public Composite getComposite()
public float getDisplacementX()
public float getDisplacementY()
public Icon getIcon()
public void setIcon(Icon icon)
public void setRotation(float rotation)
public void setComposite(Composite composite)
public void setDisplacementX(float displacementX)
public void setDisplacementY(float displacementY)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |