public class IconSequence extends MapObject
Modifier and Type | Class and Description |
---|---|
protected static class |
IconSequence.ArrayProperty |
Constructor and Description |
---|
IconSequence()
Creates new IconSequence object.
|
IconSequence(Map map)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getFixedRotation()
Returns value of fixedRotation property.
|
Symbol |
getIcon()
Returns value of icon property.
|
java.lang.String |
getOffset()
Returns value of offset property.
|
java.lang.String |
getRepeat()
Returns value of repeat property.
|
void |
setFixedRotation(boolean value)
Sets new value for fixedRotation property.
|
void |
setIcon(Symbol value)
Sets new value for icon property.
|
void |
setOffset(java.lang.String value)
Sets new value for offset property.
|
void |
setRepeat(java.lang.String value)
Sets new value for repeat property.
|
addEventListener, attachObject, cacheProperties, cacheProperties, clone, createJSValue, dispose, fromJSValue, getJSObject, getMap, getProperties, invokeMethod, propertyChanged, removeEventListener, updateProperty
public IconSequence()
@Deprecated public IconSequence(Map map)
map
- owner Map objectpublic boolean getFixedRotation()
If true, each icon in the sequence has the same fixed rotation regardless of the angle of the edge on which it lies. Defaults to false, in which case each icon in the sequence is rotated to align with its edge.
setFixedRotation(boolean)
public void setFixedRotation(boolean value)
value
- new property valuegetFixedRotation()
public java.lang.String getOffset()
Represents the distance from the start of the line at which an icon is to be rendered. This distance may be expressed as a percentage of line's length (e.g. '50%') or in pixels (e.g. '50px'). Defaults to '100%'.
setOffset(java.lang.String)
public void setOffset(java.lang.String value)
value
- new property valuegetOffset()
public java.lang.String getRepeat()
Represents the distance between consecutive icons on the line. This distance may be expressed as a percentage of the line's length (e.g. '50%') or in pixels (e.g. '50px'). To disable repeating of the icon, specify '0'. Defaults to '0'.
setRepeat(java.lang.String)
public void setRepeat(java.lang.String value)
value
- new property valuegetRepeat()
public Symbol getIcon()
Represents the icon to render on the line.
setIcon(com.teamdev.jxmaps.Symbol)