|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pdfbox.pdmodel.text.PDTextState
public class PDTextState
This class will hold the current state of the text parameters when executing a content stream.
Field Summary | |
---|---|
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 Summary | |
---|---|
PDTextState()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public PDTextState()
Method Detail |
---|
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.public Object clone()
clone
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |