Class LengthValue
java.lang.Object
com.itextpdf.layout.properties.grid.TemplateValue
com.itextpdf.layout.properties.grid.GridValue
com.itextpdf.layout.properties.grid.BreadthValue
com.itextpdf.layout.properties.grid.LengthValue
- Direct Known Subclasses:
-
PercentValue
,PointValue
Abstract class representing length value on a grid.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.itextpdf.layout.properties.grid.TemplateValue
TemplateValue.ValueType
-
Field Summary
Fields inherited from class com.itextpdf.layout.properties.grid.TemplateValue
type
-
Constructor Summary
ModifierConstructorDescriptionprotected
LengthValue
(TemplateValue.ValueType type, float value) Init a breadth value with a given type and value. -
Method Summary
Methods inherited from class com.itextpdf.layout.properties.grid.TemplateValue
getType
-
Field Details
-
value
protected float value
-
-
Constructor Details
-
LengthValue
Init a breadth value with a given type and value.- Parameters:
-
type
- value type -
value
- length value
-
-
Method Details
-
getValue
public float getValue()Gets length value.- Returns:
- length value
-