public class LineHeight extends Object
Modifier and Type | Method and Description |
---|---|
static LineHeight |
createFixedValue(float value)
Creates a LineHeight with a fixed value.
|
static LineHeight |
createMultipliedValue(float value)
Creates a LineHeight with multiplied value.
|
static LineHeight |
createNormalValue()
Creates a normal LineHeight .
|
float |
getValue()
Returns the line height value.
|
boolean |
isFixedValue()
Check if the LineHeight contains fixed value.
|
boolean |
isMultipliedValue()
Check if the LineHeight contains multiplied value.
|
boolean |
isNormalValue()
Check if the LineHeight contains normal value.
|
public float getValue()
LineHeight
value.
public static LineHeight createFixedValue(float value)
LineHeight
with a fixed value.
value
- value to set
LineHeight
object
public static LineHeight createMultipliedValue(float value)
LineHeight
with multiplied value. This value must be multiplied by the element's font size.
value
- value to set
LineHeight
object
public static LineHeight createNormalValue()
LineHeight
.
LineHeight
object
public boolean isFixedValue()
LineHeight
contains fixed value.
LineHeight
contains fixed value.
public boolean isMultipliedValue()
LineHeight
contains multiplied value.
LineHeight
contains multiplied value.
public boolean isNormalValue()
LineHeight
contains normal value.
LineHeight
is normal.
Copyright © 1998–2020 iText Group NV. All rights reserved.