| Package | com.yworks.yfiles.layout |
| Interface | public interface NodeLayout |
| Implementors | DefaultNodeLayout |
| Property | Defined By | ||
|---|---|---|---|
| height : Number [read-only]
Returns the height of the node. | NodeLayout | ||
| width : Number [read-only]
Returns the width of the node. | NodeLayout | ||
| x : Number [read-only]
Returns X-Coordinate of the upper left corner of the node. | NodeLayout | ||
| y : Number [read-only]
Returns Y-Coordinate of the upper left corner of the node. | NodeLayout | ||
| Method | Defined By | ||
|---|---|---|---|
setLocation(x:Number, y:Number):void
Sets the coordinates of the upper left corner of the node. | NodeLayout | ||
setSize(width:Number, height:Number):void
Sets the size of the node. | NodeLayout | ||
| height | property |
height:Number [read-only] Returns the height of the node.
public function get height():Number| width | property |
width:Number [read-only] Returns the width of the node.
public function get width():Number| x | property |
x:Number [read-only] Returns X-Coordinate of the upper left corner of the node.
public function get x():Number| y | property |
y:Number [read-only] Returns Y-Coordinate of the upper left corner of the node.
public function get y():Number| setLocation | () | method |
public function setLocation(x:Number, y:Number):voidSets the coordinates of the upper left corner of the node.
Parameters
x:Number — the x-coordinates of the upper left corner.
| |
y:Number — the y-coordinates of the upper left corner.
|
| setSize | () | method |
public function setSize(width:Number, height:Number):voidSets the size of the node.
Parameters
width:Number — the width of the node.
| |
height:Number — the height of the node.
|