Package | com.yworks.yfiles.layout |
Class | public class DefaultEdgeLayout |
Inheritance | DefaultEdgeLayout YObject Object |
Implements | EdgeLayout |
Property | Defined By | ||
---|---|---|---|
sourcePoint : YPoint | DefaultEdgeLayout | ||
targetPoint : YPoint | DefaultEdgeLayout |
Method | Defined By | ||
---|---|---|---|
DefaultEdgeLayout(init:Boolean = true)
Creates a new DefaultEdgeLayout. | DefaultEdgeLayout | ||
addPoint(x:Number, y:Number):void | DefaultEdgeLayout | ||
clearPoints():void | DefaultEdgeLayout | ||
equals(o:Object):Boolean | YObject | ||
getClass():Class [override] | DefaultEdgeLayout | ||
DefaultEdgeLayout | |||
hashCode():int | YObject | ||
[static]
Creates a new DefaultEdgeLayout. | DefaultEdgeLayout | ||
[static]
Creates a new DefaultEdgeLayout which is the copy of another EdgeLayout. | DefaultEdgeLayout | ||
pointCount():int | DefaultEdgeLayout | ||
setPoint(index:int, x:Number, y:Number):void | DefaultEdgeLayout |
Method | Defined By | ||
---|---|---|---|
initDefaultEdgeLayout1():void
Initializes this object. | DefaultEdgeLayout | ||
initDefaultEdgeLayout2(layout:EdgeLayout):void
Initializes this object. | DefaultEdgeLayout |
sourcePoint | property |
sourcePoint:YPoint
public function get sourcePoint():YPoint
public function set sourcePoint(value:YPoint):void
targetPoint | property |
targetPoint:YPoint
public function get targetPoint():YPoint
public function set targetPoint(value:YPoint):void
DefaultEdgeLayout | () | Constructor |
public function DefaultEdgeLayout(init:Boolean = true)
Creates a new DefaultEdgeLayout.
Parametersinit:Boolean (default = true ) — An internally used switch to help handle proper instance initialization in inheritance chains where classes can have multiple constructor-like factory methods.
This parameter can safely be ignored/omitted when calling the constructor.
|
addPoint | () | method |
public function addPoint(x:Number, y:Number):void
Parameters
x:Number | |
y:Number |
clearPoints | () | method |
public function clearPoints():void
getClass | () | method |
override public function getClass():Class
ReturnsClass |
getPoint | () | method |
initDefaultEdgeLayout1 | () | method |
protected final function initDefaultEdgeLayout1():void
Initializes this object. See the documentation of the corresponding factory method newDefaultEdgeLayout1()
for details.
See also
initDefaultEdgeLayout2 | () | method |
protected final function initDefaultEdgeLayout2(layout:EdgeLayout):void
Initializes this object. See the documentation of the corresponding factory method newDefaultEdgeLayout2()
for details.
Parameters
layout:EdgeLayout |
See also
newDefaultEdgeLayout1 | () | method |
public static function newDefaultEdgeLayout1():DefaultEdgeLayout
Creates a new DefaultEdgeLayout.
ReturnsDefaultEdgeLayout |
newDefaultEdgeLayout2 | () | method |
public static function newDefaultEdgeLayout2(layout:EdgeLayout):DefaultEdgeLayout
Creates a new DefaultEdgeLayout which is the copy of another EdgeLayout.
Parameters
layout:EdgeLayout — another edge layout
|
DefaultEdgeLayout |
pointCount | () | method |
public function pointCount():int
Returnsint |
setPoint | () | method |
public function setPoint(index:int, x:Number, y:Number):void
Parameters
index:int | |
x:Number | |
y:Number |