Package | com.yworks.yfiles.layout |
Class | public class FreeEdgeLabelLayoutModel_ModelParameter |
Inheritance | FreeEdgeLabelLayoutModel_ModelParameter YObject Object |
FreeEdgeLabelModel
.
Property | Defined 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 |
Method | Defined By | ||
---|---|---|---|
FreeEdgeLabelLayoutModel_ModelParameter(init:Boolean = true)
Creates a new instance of com.yworks.yfiles.layout.FreeEdgeLabelLayoutModel_ModelParameter with radius 50 and angle 0. | FreeEdgeLabelLayoutModel_ModelParameter | ||
equals(o:Object):Boolean | YObject | ||
getClass():Class [override] | FreeEdgeLabelLayoutModel_ModelParameter | ||
hashCode():int | YObject | ||
[static]
Creates a new instance of com.yworks.yfiles.layout.FreeEdgeLabelLayoutModel_ModelParameter with radius 50 and angle 0. | FreeEdgeLabelLayoutModel_ModelParameter | ||
newFreeEdgeLabelLayoutModel_ModelParameter2(radius:Number, theta:Number):FreeEdgeLabelLayoutModel_ModelParameter [static]
Creates a new instance of com.yworks.yfiles.layout.FreeEdgeLabelLayoutModel_ModelParameter with given radius and angle. | FreeEdgeLabelLayoutModel_ModelParameter | ||
newFreeEdgeLabelLayoutModel_ModelParameter3(radius:Number, theta:Number, angle:Number):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 |
Method | Defined 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 |
angle | property |
angle:Number
Specifies the rotation angle of the label defined by this label position.
public function get angle():Number
public function set angle(value:Number):void
point | property |
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.
public function get point():YPoint
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
.
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
getClass | () | method |
override public function getClass():Class
ReturnsClass |
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
.
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.
|
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.
|
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
ReturnsString |