|
jPod PDF library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.intarsys.pdf.content.TextState
public class TextState
This class summarizes all state information that is used to render characters in the current context, such as font, font size or the text transformation matrix etc.
Field Summary | |
---|---|
boolean |
active
Flag if text object (text begin operator) is active. |
float |
charSpacing
character spacing, unscaled text units initial value: 0 |
float |
derivedCharSpacingScaled
This is the scaled character spacing. |
float |
derivedGlyphAdvanceFactor
The factor to be used to calculate the advance after a glyph. |
float |
derivedHorizontalScalingFactor
|
float |
derivedWordSpacingScaled
This is the scaled word spacing. |
PDFont |
font
the PDFont to use for this text piece initial value: undefined |
float |
fontSize
the font scaling initial value: undefined |
AffineTransform |
globalTransform
The concatenation of the user space transformation and the text matrix. |
float |
horizontalScaling
percentage of normal width initial value: 100 |
boolean |
knockout
|
float |
leading
text leading, unscaled text units initial value: 0 |
AffineTransform |
lineTransform
The text line matrix. |
static int |
RENDERING_MODE_CLIP
|
static int |
RENDERING_MODE_FILL
|
static int |
RENDERING_MODE_FILL_CLIP
|
static int |
RENDERING_MODE_FILL_STROKE
|
static int |
RENDERING_MODE_FILL_STROKE_CLIP
|
static int |
RENDERING_MODE_NONE
|
static int |
RENDERING_MODE_STROKE
|
static int |
RENDERING_MODE_STROKE_CLIP
|
int |
renderingMode
rendering mode, enumeration initial value: 0 |
float |
rise
text rise, unscaled text units initial value: 0 |
AffineTransform |
transform
The text matrix. |
float |
wordSpacing
word spacing, unscaled text units initial value: 0 |
Constructor Summary | |
---|---|
TextState()
|
Method Summary | |
---|---|
TextState |
copy()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int RENDERING_MODE_CLIP
public static final int RENDERING_MODE_FILL
public static final int RENDERING_MODE_FILL_CLIP
public static final int RENDERING_MODE_FILL_STROKE
public static final int RENDERING_MODE_FILL_STROKE_CLIP
public static final int RENDERING_MODE_NONE
public static final int RENDERING_MODE_STROKE
public static final int RENDERING_MODE_STROKE_CLIP
public boolean active
public float charSpacing
initial value: 0
public float derivedCharSpacingScaled
This is a derived value: charSpacingScaled = charSpacing*horizontalScaling
public float derivedGlyphAdvanceFactor
This is a derived value: glyphAdvanceFactor = fontSize/1000*horizontalScalingFactor
public float derivedHorizontalScalingFactor
public float derivedWordSpacingScaled
This is a derived value: wordSpacingScaled = wordSpacing*horizontalScaling
public PDFont font
initial value: undefined
public float fontSize
initial value: undefined
public float horizontalScaling
initial value: 100
public boolean knockout
public float leading
initial value: 0
public AffineTransform lineTransform
This is a temporary attribute that keeps track of the state of tm at the start of a new line.
public int renderingMode
initial value: 0
public float rise
initial value: 0
public AffineTransform transform
public AffineTransform globalTransform
public float wordSpacing
initial value: 0
Constructor Detail |
---|
public TextState()
Method Detail |
---|
public TextState copy()
|
jPod PDF library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |