public interface INodeSizeConstraintProvider
INode
s.NodeSizeConstraintProvider
Modifier and Type | Method and Description |
---|---|
SizeD |
getMaximumSize(INode node)
Returns the maximum size allowed for the given
node . |
RectD |
getMinimumEnclosedArea(INode node)
Returns the minimum area that needs to be enclosed by the given
node . |
SizeD |
getMinimumSize(INode node)
Returns the minimum size allowed for the given
node . |
SizeD getMaximumSize(INode node)
node
.node
- The node to return the maximum size for.SizeD.INFINITE
if there is no constraint on the size.RectD getMinimumEnclosedArea(INode node)
node
.node
- The node to return the area for.RectD.EMPTY
if there is no constraint on the size due to an enclosed area.SizeD getMinimumSize(INode node)
node
.node
- The node to return the minimum size for.SizeD.EMPTY
if there is no constraint on the size.