Package | com.yworks.canvas.input |
Interface | public interface ISizeConstraintProvider |
Implementors | SizeConstraintProvider |
See also
Method | Defined By | ||
---|---|---|---|
getMaximumSize(item:Object):ISize
Returns the maximum size allowed for the given item. | ISizeConstraintProvider | ||
getMinimumEnclosedArea(item:Object):IRectangle
Returns the minimum area that needs to be enclosed by the given item. | ISizeConstraintProvider | ||
getMinimumSize(item:Object):ISize
Returns the minimum size allowed for the given item. | ISizeConstraintProvider |
getMaximumSize | () | method |
public function getMaximumSize(item:Object):ISize
Returns the maximum size allowed for the given item.
Parameters
item:Object — The item to return the maximum size for.
|
ISize — The maximum size or ImmutableSize.UNBOUND if there is no constraint on the size.
|
See also
getMinimumEnclosedArea | () | method |
public function getMinimumEnclosedArea(item:Object):IRectangle
Returns the minimum area that needs to be enclosed by the given item.
Parameters
item:Object — The item to return the area for.
|
IRectangle — The area to enclose or ImmutableRectangle.EMPTY if there is no constraint on the size due to an enclosed area.
|
See also
getMinimumSize | () | method |
public function getMinimumSize(item:Object):ISize
Returns the minimum size allowed for the given item.
Parameters
item:Object — The item to return the minimum size for.
|
ISize — The minimum size or ImmutableSize.EMPTY if there is no constraint on the size.
|
See also