Packagecom.yworks.yfiles.layout
Classpublic class FreeEdgeLabelLayoutModel_ModelParameter
InheritanceFreeEdgeLabelLayoutModel_ModelParameter Inheritance YObject Inheritance Object

The model parameters for the FreeEdgeLabelModel.



Public Properties
 PropertyDefined By
  angle : Number
Specifies the rotation angle of the label defined by this label position.
FreeEdgeLabelLayoutModel_ModelParameter
  point : YPoint
[read-only] Returns a point whose x-coordinate corresponds to the radius associated with this class and whose y-coordinate corresponds to the angle associated with this class.
FreeEdgeLabelLayoutModel_ModelParameter
Public Methods
 MethodDefined By
  
Creates a new instance of com.yworks.yfiles.layout.FreeEdgeLabelLayoutModel_ModelParameter with radius 50 and angle 0.
FreeEdgeLabelLayoutModel_ModelParameter
 Inherited
equals(o:Object):Boolean
YObject
  
getClass():Class
[override]
FreeEdgeLabelLayoutModel_ModelParameter
 Inherited
hashCode():int
YObject
  
[static] Creates a new instance of com.yworks.yfiles.layout.FreeEdgeLabelLayoutModel_ModelParameter with radius 50 and angle 0.
FreeEdgeLabelLayoutModel_ModelParameter
  
[static] Creates a new instance of com.yworks.yfiles.layout.FreeEdgeLabelLayoutModel_ModelParameter with given radius and angle.
FreeEdgeLabelLayoutModel_ModelParameter
  
[static] Creates a new instance of com.yworks.yfiles.layout.FreeEdgeLabelLayoutModel_ModelParameter with given radius and angle.
FreeEdgeLabelLayoutModel_ModelParameter
  
setPoint(radius:Number, theta:Number):void
Sets angle and radius for this class.
FreeEdgeLabelLayoutModel_ModelParameter
  
toString():String
FreeEdgeLabelLayoutModel_ModelParameter
Protected Methods
 MethodDefined By
  
Initializes this object.
FreeEdgeLabelLayoutModel_ModelParameter
  
initFreeEdgeLabelLayoutModel_ModelParameter2(radius:Number, theta:Number):void
Initializes this object.
FreeEdgeLabelLayoutModel_ModelParameter
  
initFreeEdgeLabelLayoutModel_ModelParameter3(radius:Number, theta:Number, angle:Number):void
Initializes this object.
FreeEdgeLabelLayoutModel_ModelParameter
Property Detail
angleproperty
angle:Number

Specifies the rotation angle of the label defined by this label position.


Implementation
    public function get angle():Number
    public function set angle(value:Number):void
pointproperty 
point:YPoint  [read-only]

Returns a point whose x-coordinate corresponds to the radius associated with this class and whose y-coordinate corresponds to the angle associated with this class.


Implementation
    public function get point():YPoint
Constructor Detail
FreeEdgeLabelLayoutModel_ModelParameter()Constructor
public function FreeEdgeLabelLayoutModel_ModelParameter(init:Boolean = true)

Creates a new instance of com.yworks.yfiles.layout.FreeEdgeLabelLayoutModel_ModelParameter with radius 50 and angle 0.

Parameters
init: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.

See also

Method Detail
getClass()method
override public function getClass():Class

Returns
Class
initFreeEdgeLabelLayoutModel_ModelParameter1()method 
protected final function initFreeEdgeLabelLayoutModel_ModelParameter1():void

Initializes this object. See the documentation of the corresponding factory method newFreeEdgeLabelLayoutModel_ModelParameter1() for details.

See also

initFreeEdgeLabelLayoutModel_ModelParameter2()method 
protected final function initFreeEdgeLabelLayoutModel_ModelParameter2(radius:Number, theta:Number):void

Initializes this object. See the documentation of the corresponding factory method newFreeEdgeLabelLayoutModel_ModelParameter2() for details.

Parameters

radius:Number
 
theta:Number

See also

initFreeEdgeLabelLayoutModel_ModelParameter3()method 
protected final function initFreeEdgeLabelLayoutModel_ModelParameter3(radius:Number, theta:Number, angle:Number):void

Initializes this object. See the documentation of the corresponding factory method newFreeEdgeLabelLayoutModel_ModelParameter3() for details.

Parameters

radius:Number
 
theta:Number
 
angle:Number

See also

newFreeEdgeLabelLayoutModel_ModelParameter1()method 
public static function newFreeEdgeLabelLayoutModel_ModelParameter1():FreeEdgeLabelLayoutModel_ModelParameter

Creates a new instance of com.yworks.yfiles.layout.FreeEdgeLabelLayoutModel_ModelParameter with radius 50 and angle 0.

Returns
FreeEdgeLabelLayoutModel_ModelParameter

See also

newFreeEdgeLabelLayoutModel_ModelParameter2()method 
public static function newFreeEdgeLabelLayoutModel_ModelParameter2(radius:Number, theta:Number):FreeEdgeLabelLayoutModel_ModelParameter

Creates a new instance of com.yworks.yfiles.layout.FreeEdgeLabelLayoutModel_ModelParameter with given radius and angle.

Parameters

radius:Number — the distance of the label from the source node of the underlying edge
 
theta:Number — the angle between the first segment of the underlying edge and the imaginary line to the center of the label. the angle is measured in radian.

Returns
FreeEdgeLabelLayoutModel_ModelParameter

See also

newFreeEdgeLabelLayoutModel_ModelParameter3()method 
public static function newFreeEdgeLabelLayoutModel_ModelParameter3(radius:Number, theta:Number, angle:Number):FreeEdgeLabelLayoutModel_ModelParameter

Creates a new instance of com.yworks.yfiles.layout.FreeEdgeLabelLayoutModel_ModelParameter with given radius and angle.

Parameters

radius:Number — the distance of the label from the source node of the underlying edge
 
theta:Number — the angle between the first segment of the underlying edge and the imaginary line to the center of the label. the angle is measured in radian.
 
angle:Number — the rotation angle of the label.

Returns
FreeEdgeLabelLayoutModel_ModelParameter

See also

setPoint()method 
public function setPoint(radius:Number, theta:Number):void

Sets angle and radius for this class. The x-coordinate of the given point holds the radius, the y-coordinate the angle.

Parameters

radius:Number
 
theta:Number

toString()method 
public function toString():String

Returns
String