iText 8.0.5 API
|
Represents fit content function template value. More...
Public Member Functions |
|
FitContentValue (LengthValue length) | |
Create fit content function value based on provided LengthValue instance. More... |
|
FitContentValue (UnitValue length) | |
Create fit content function value based on provided iText.Layout.Properties.UnitValue instance. More... |
|
virtual LengthValue | GetLength () |
Get underlying LengthValue which represents max size on a grid for this value. More... |
|
virtual float | GetMaxSizeForSpace (float space) |
Gets the maximum size which the value can take on passed space. More... |
|
Public Member Functions inherited from iText.Layout.Properties.Grid.TemplateValue | |
virtual TemplateValue.ValueType | GetType () |
Gets template value type. More... |
|
Additional Inherited Members |
|
Public Types inherited from iText.Layout.Properties.Grid.TemplateValue | |
enum | ValueType { ValueType.POINT, ValueType.PERCENT, ValueType.AUTO, ValueType.MIN_CONTENT, ValueType.MAX_CONTENT, ValueType.FIT_CONTENT, ValueType.MINMAX, ValueType.FLEX, ValueType.FIXED_REPEAT, ValueType.AUTO_REPEAT } |
Enum of sizing value types. More... |
|
Package Functions inherited from iText.Layout.Properties.Grid.FunctionValue | |
FunctionValue (TemplateValue.ValueType type) | |
Init a function value with a given type. More... |
|
Package Functions inherited from iText.Layout.Properties.Grid.GridValue | |
GridValue (TemplateValue.ValueType type) | |
Create grid value with a given type. More... |
|
Package Functions inherited from iText.Layout.Properties.Grid.TemplateValue | |
TemplateValue (TemplateValue.ValueType type) | |
Creates template value with a given type. More... |
|
Package Attributes inherited from iText.Layout.Properties.Grid.TemplateValue | |
readonly TemplateValue.ValueType | type |
Template value type. More... |
|
Represents fit content function template value.
|
inline |
Create fit content function value based on provided LengthValue instance.
length | max size value |
|
inline |
Create fit content function value based on provided iText.Layout.Properties.UnitValue instance.
length | max size value |
|
inlinevirtual |
Get underlying LengthValue which represents max size on a grid for this value.
|
inlinevirtual |
Gets the maximum size which the value can take on passed space.
space | the space for which fit-content size will be calculated |