An implementation of INodeSizeConstraintProvider which provides constant sizes.
Implements
- I
Members
No filters for this type
Constructors
Creates a new instance using the provided size instances as the initial values.
Creates a new instance using the provided size instances as the initial values.
Not specifying the
minimumEnclosedArea will set it to EMPTY.Parameters
- minimumSize: ISize
- The minimumSize.
- maximumSize: ISize
- The maximumSize.
- minimumEnclosedArea?: IRectangle
- The minimumEnclosedArea.
Properties
Gets or sets the instance to return by getMaximumSize.
Gets or sets the instance to return by getMaximumSize.
conversionfinal
Gets or sets the instance to return by getMinimumEnclosedArea.
Gets or sets the instance to return by getMinimumEnclosedArea.
conversionfinal
Gets or sets the instance to return by getMinimumSize.
Gets or sets the instance to return by getMinimumSize.
conversionfinal
Methods
Returns the maximum size allowed for the node whose lookup returned this provider.
Returns the maximum size allowed for the node whose lookup returned this provider.
Return Value
Returns the minimum area that needs to be enclosed by the node whose lookup returned this provider.
Returns the minimum area that needs to be enclosed by the node whose lookup returned this provider.
Return Value
Returns the minimum size allowed for the node whose lookup returned this provider.
Returns the minimum size allowed for the node whose lookup returned this provider.