public class FitContentValue extends FunctionValue
TemplateValue.ValueTypetype| Constructor and Description |
|---|
FitContentValue(LengthValue length)
Create fit content function value based on provided
LengthValue instance. |
FitContentValue(UnitValue length)
Create fit content function value based on provided
UnitValue instance. |
| Modifier and Type | Method and Description |
|---|---|
LengthValue |
getLength()
Get underlying
LengthValue which represents max size on a grid for this value. |
float |
getMaxSizeForSpace(float space)
Gets the maximum size which the value can take on passed space.
|
getTypepublic FitContentValue(LengthValue length)
LengthValue instance.length - max size valuepublic LengthValue getLength()
LengthValue which represents max size on a grid for this value.LengthValue valuepublic float getMaxSizeForSpace(float space)
space - the space for which fit-content size will be calculatedCopyright © 1998–2025 Apryse Group NV. All rights reserved.