Package | com.yworks.graph.drawing |
Interface | public interface INodeInsetsProvider |
Implementations of this interface will be queried from an INode's lookup method. GroupedGraph uses this instance by default to determine the insets of a group node.
See also
Method | Defined By | ||
---|---|---|---|
Returns the insets for the given node. | INodeInsetsProvider |
getInsets | () | method |
public function getInsets(node:INode):IRectangle
Returns the insets for the given node.
Parameters
node:INode — The node to yield insets for.
|
IRectangle — rectangle that describes the insets. x is the left inset, y is the top inset, width is the right inset, and height is the bottom inset.
|