Class: Shape

.xyz.maps.editor.Editor.drawingBoard. Shape

The interface represents the link shape point object in drawing manager.

Members Summary

class

the feature class of the drawing shape point, either LINE_SHAPE, NAVLINK_SHAPE or AREA_SHAPE

Methods Summary

getIndex() → {Number}

Returns the index of the shape point( count from 0 to length )

getLength() → {Number}

Returns number of segments of this link, if this is an area shape, return the segments number of its boarder.

remove()

Removes this shape point..

Members Details

class

the feature class of the drawing shape point, either LINE_SHAPE, NAVLINK_SHAPE or AREA_SHAPE

Methods Details

getIndex() → {Number}

Returns the index of the shape point( count from 0 to length )
Returns:
the index of the shape
Type:
Number

getLength() → {Number}

Returns number of segments of this link, if this is an area shape, return the segments number of its boarder.
Returns:
the total segments of this Link or Area
Type:
Number

remove()

Removes this shape point..