public class PDTextState extends Object implements Cloneable
Modifier and Type | Field and Description |
---|---|
static int |
RENDERING_MODE_ADD_TEXT_TO_PATH_FOR_CLIPPING
See PDF Reference 1.5 Table 5.3.
|
static int |
RENDERING_MODE_FILL_TEXT
See PDF Reference 1.5 Table 5.3.
|
static int |
RENDERING_MODE_FILL_TEXT_AND_ADD_TO_PATH_FOR_CLIPPING
See PDF Reference 1.5 Table 5.3.
|
static int |
RENDERING_MODE_FILL_THEN_STROKE_TEXT
See PDF Reference 1.5 Table 5.3.
|
static int |
RENDERING_MODE_FILL_THEN_STROKE_TEXT_AND_ADD_TO_PATH_FOR_CLIPPING
See PDF Reference 1.5 Table 5.3.
|
static int |
RENDERING_MODE_NEITHER_FILL_NOR_STROKE_TEXT
See PDF Reference 1.5 Table 5.3.
|
static int |
RENDERING_MODE_STROKE_TEXT
See PDF Reference 1.5 Table 5.3.
|
static int |
RENDERING_MODE_STROKE_TEXT_AND_ADD_TO_PATH_FOR_CLIPPING
See PDF Reference 1.5 Table 5.3.
|
Constructor and Description |
---|
PDTextState() |
Modifier and Type | Method and Description |
---|---|
Object |
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 |
getHorizontalScalingPercent()
Get the value of the horizontalScaling.
|
boolean |
getKnockoutFlag()
Get the value of the knockout.
|
float |
getLeading()
Get the value of the leading.
|
int |
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 |
setHorizontalScalingPercent(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(int value)
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.
|
public static final int RENDERING_MODE_FILL_TEXT
public static final int RENDERING_MODE_STROKE_TEXT
public static final int RENDERING_MODE_FILL_THEN_STROKE_TEXT
public static final int RENDERING_MODE_NEITHER_FILL_NOR_STROKE_TEXT
public static final int RENDERING_MODE_FILL_TEXT_AND_ADD_TO_PATH_FOR_CLIPPING
public static final int RENDERING_MODE_STROKE_TEXT_AND_ADD_TO_PATH_FOR_CLIPPING
public static final int RENDERING_MODE_FILL_THEN_STROKE_TEXT_AND_ADD_TO_PATH_FOR_CLIPPING
public static final int RENDERING_MODE_ADD_TEXT_TO_PATH_FOR_CLIPPING
public float getCharacterSpacing()
public void setCharacterSpacing(float value)
value
- The characterSpacing.public float getWordSpacing()
public void setWordSpacing(float value)
value
- The wordSpacing.public float getHorizontalScalingPercent()
public void setHorizontalScalingPercent(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 int getRenderingMode()
public void setRenderingMode(int value)
value
- The renderingMode.public float getRise()
public void setRise(float value)
value
- The rise.public boolean getKnockoutFlag()
public void setKnockoutFlag(boolean value)
value
- The knockout.Copyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.