public class PDTextState
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private float |
characterSpacing |
private PDFont |
font |
private float |
fontSize |
private float |
horizontalScaling |
private boolean |
knockout |
private float |
leading |
private RenderingMode |
renderingMode |
private float |
rise |
private float |
wordSpacing |
Constructor and Description |
---|
PDTextState() |
Modifier and Type | Method and Description |
---|---|
PDTextState |
clone() |
float |
getCharacterSpacing()
Get the value of the characterSpacing.
|
PDFont |
getFont()
Get the value of the font.
|
float |
getFontSize()
Get the value of the fontSize.
|
float |
getHorizontalScaling()
Get the value of the horizontalScaling.
|
boolean |
getKnockoutFlag()
Get the value of the knockout.
|
float |
getLeading()
Get the value of the leading.
|
RenderingMode |
getRenderingMode()
Get the value of the renderingMode.
|
float |
getRise()
Get the value of the rise.
|
float |
getWordSpacing()
Get the value of the wordSpacing.
|
void |
setCharacterSpacing(float value)
Set the value of the characterSpacing.
|
void |
setFont(PDFont value)
Set the value of the font.
|
void |
setFontSize(float value)
Set the value of the fontSize.
|
void |
setHorizontalScaling(float value)
Set the value of the horizontalScaling.
|
void |
setKnockoutFlag(boolean value)
Set the value of the knockout.
|
void |
setLeading(float value)
Set the value of the leading.
|
void |
setRenderingMode(RenderingMode renderingMode)
Set the value of the renderingMode.
|
void |
setRise(float value)
Set the value of the rise.
|
void |
setWordSpacing(float value)
Set the value of the wordSpacing.
|
private float characterSpacing
private float wordSpacing
private float horizontalScaling
private float leading
private PDFont font
private float fontSize
private RenderingMode renderingMode
private float rise
private boolean knockout
public float getCharacterSpacing()
public void setCharacterSpacing(float value)
value
- The characterSpacing.public float getWordSpacing()
public void setWordSpacing(float value)
value
- The wordSpacing.public float getHorizontalScaling()
public void setHorizontalScaling(float value)
value
- The horizontalScaling.public float getLeading()
public void setLeading(float value)
value
- The leading.public PDFont getFont()
public void setFont(PDFont value)
value
- The font.public float getFontSize()
public void setFontSize(float value)
value
- The fontSize.public RenderingMode getRenderingMode()
public void setRenderingMode(RenderingMode renderingMode)
renderingMode
- The renderingMode.public float getRise()
public void setRise(float value)
value
- The rise.public boolean getKnockoutFlag()
public void setKnockoutFlag(boolean value)
value
- The knockout.public PDTextState clone()
clone
in class java.lang.Object