Packagecom.yworks.yfiles.geom
Classpublic class BorderLine_Segment
InheritanceBorderLine_Segment Inheritance YObject Inheritance Object

The handle of a segment of a borderline.



Public Properties
 PropertyDefined By
  end : Number
[read-only] Returns the end of this segment.
BorderLine_Segment
Public Methods
 MethodDefined By
  
BorderLine_Segment(init:Boolean = true)
BorderLine_Segment
 Inherited
equals(o:Object):Boolean
YObject
  
getClass():Class
[override]
BorderLine_Segment
  
getValueAt(position:Number):Number
Returns the segment's value at the given position.
BorderLine_Segment
 Inherited
hashCode():int
YObject
  
Returns the next segment or null if there is no such segment.
BorderLine_Segment
  
Returns the previous segment or null if there is no such segment.
BorderLine_Segment
  
toString():String
BorderLine_Segment
Property Detail
endproperty
end:Number  [read-only]

Returns the end of this segment.


Implementation
    public function get end():Number
Constructor Detail
BorderLine_Segment()Constructor
public function BorderLine_Segment(init:Boolean = true)



Parameters
init:Boolean (default = true)
Method Detail
getClass()method
override public function getClass():Class

Returns
Class
getValueAt()method 
public function getValueAt(position:Number):Number

Returns the segment's value at the given position. Note: In case the position lies outside the segments range, the calculated value might be invalid. As the segment is not aware of any offsets the position also must not include any offsets.

Parameters

position:Number — the position the value is retrieved for.

Returns
Number — the segment's value at the given position.
next()method 
public function next():BorderLine_Segment

Returns the next segment or null if there is no such segment.

Returns
BorderLine_Segment
prev()method 
public function prev():BorderLine_Segment

Returns the previous segment or null if there is no such segment.

Returns
BorderLine_Segment
toString()method 
public function toString():String

Returns
String