Package | com.yworks.yfiles.geom |
Interface | public interface YLineSegmentCursor extends YCursor |
Method | Defined By | ||
---|---|---|---|
current():Object
Returns the object currently pointed on. | YCursor | ||
Returns the instance of LineSegment the cursor is currently pointing on. | YLineSegmentCursor | ||
next():void
Moves this cursor one position forward. | YCursor | ||
ok():Boolean
Returns true if the current cursor position is valid. | YCursor | ||
prev():void
Moves this cursor one position backward (optional). | YCursor | ||
size():int
Returns the number of elements that can be accessed with this cursor. | YCursor | ||
toFirst():void
Moves this cursor to the first valid cursor position (optional). | YCursor | ||
toLast():void
Moves this cursor to the last valid cursor position (optional). | YCursor |
lineSegment | () | method |
public function lineSegment():LineSegment
Returns the instance of LineSegment the cursor is currently pointing on.
ReturnsLineSegment — an instance of LineSegment
|