documentationfor yFiles for HTML 2.6

Usages of SegmentInfo

Properties

commonSegmentInfoin SegmentGroupGets the common SegmentInfo representing the grouped segments.

Method Return Values

getSegment (number)in ChannelReturns the segment info with the given index in the list of segments of this channel.
getNextSegment (SegmentInfo)in EdgeInfoReturns the SegmentInfo of the segment following the segment of the given SegmentInfo.
getPreviousSegment (SegmentInfo)in EdgeInfoReturns the SegmentInfo of the segment preceding the segment of the given SegmentInfo.
getSegmentInfo (number)in EdgeInfoReturns the SegmentInfo of the edge segment with the given index.

Method Parameters

Channel (SegmentInfo)in ChannelCreates a new Channel that contains the given segment info.
addSegment (SegmentInfo)in ChannelAdds a new segment info to the channel.
getCurrentLocation (SegmentInfo)in ChannelReturns the current location that the given segment info has been assigned within its location range.
setCurrentLocation (SegmentInfo, number)in ChannelSpecifies the current location that the given segment info has been assigned within its location range.
getNextSegment (SegmentInfo)in EdgeInfoReturns the SegmentInfo of the segment following the segment of the given SegmentInfo.
getPreviousSegment (SegmentInfo)in EdgeInfoReturns the SegmentInfo of the segment preceding the segment of the given SegmentInfo.