Packagecom.yworks.yfiles.layout.radial
Classpublic class RadialLayouter_NodeInfo
InheritanceRadialLayouter_NodeInfo Inheritance YObject Inheritance Object

Info object describing on which circle and in which sector the node is placed. This object can be registered for every node using the data provider key com.yworks.yfiles.layout.radial.RadialLayouter.NODE_INFO_DPKEY . The layouter will update its fields when the layout is calculated.

Note that this info object only delivers additional data which was calculated during the layout run and has no influence on layout calculation.

See also

com.yworks.yfiles.layout.radial.RadialLayouter.NODE_INFO_DPKEY


Public Properties
 PropertyDefined By
  centerOffset : YPoint
[read-only] Returns the offset from the center of the circle, the node is placed on, to the center of the node.
RadialLayouter_NodeInfo
  circleIndex : int
[read-only] Returns the index of the circle the node is placed on.
RadialLayouter_NodeInfo
  radius : Number
[read-only] Returns the radius of the circle the node is placed on.
RadialLayouter_NodeInfo
  sectorSize : Number
[read-only] Return the size in degrees of the sector the node is placed in.
RadialLayouter_NodeInfo
  sectorStart : Number
[read-only] Returns the start angle in degrees of the sector the node is placed in.
RadialLayouter_NodeInfo
Public Methods
 MethodDefined By
  
RadialLayouter_NodeInfo(init:Boolean = true)
RadialLayouter_NodeInfo
 Inherited
equals(o:Object):Boolean
YObject
  
getClass():Class
[override]
RadialLayouter_NodeInfo
 Inherited
hashCode():int
YObject
  
[static]
RadialLayouter_NodeInfo
Protected Methods
 MethodDefined By
  
RadialLayouter_NodeInfo
Property Detail
centerOffsetproperty
centerOffset:YPoint  [read-only]

Returns the offset from the center of the circle, the node is placed on, to the center of the node.


Implementation
    public function get centerOffset():YPoint
circleIndexproperty 
circleIndex:int  [read-only]

Returns the index of the circle the node is placed on. The circles used by the RadialLayouter are indexed from the innermost to the outermost circle. Index 0 represents the center, i.e. the circle with radius 0.


Implementation
    public function get circleIndex():int
radiusproperty 
radius:Number  [read-only]

Returns the radius of the circle the node is placed on.


Implementation
    public function get radius():Number
sectorSizeproperty 
sectorSize:Number  [read-only]

Return the size in degrees of the sector the node is placed in.


Implementation
    public function get sectorSize():Number

See also

sectorStartproperty 
sectorStart:Number  [read-only]

Returns the start angle in degrees of the sector the node is placed in. The angle refers to a counter-clockwise rotation starting at the 3 o'clock position.


Implementation
    public function get sectorStart():Number

See also

Constructor Detail
RadialLayouter_NodeInfo()Constructor
public function RadialLayouter_NodeInfo(init:Boolean = true)



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

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

newRadialLayouter_NodeInfo()method 
public static function newRadialLayouter_NodeInfo():RadialLayouter_NodeInfo

Returns
RadialLayouter_NodeInfo