Package com.aowagie.text.pdf.parser
Class GraphicsState
java.lang.Object
com.aowagie.text.pdf.parser.GraphicsState
Keeps all the parameters of the graphics state.
- Since:
- 2.1.4
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) float
The current character spacing.(package private) Matrix
The current transformation matrix.(package private) CMapAwareDocumentFont
The active font.(package private) float
The current font size.(package private) float
The current horizontal scalingprivate final boolean
The current knockout value.(package private) float
The current leading.(package private) int
The current render mode.(package private) float
The current text rise(package private) float
The current word spacing. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new Graphics State object with the default values.GraphicsState
(GraphicsState source) Copy constructor. -
Method Summary
-
Field Details
-
ctm
Matrix ctmThe current transformation matrix. -
characterSpacing
float characterSpacingThe current character spacing. -
wordSpacing
float wordSpacingThe current word spacing. -
horizontalScaling
float horizontalScalingThe current horizontal scaling -
leading
float leadingThe current leading. -
font
The active font. -
fontSize
float fontSizeThe current font size. -
renderMode
int renderModeThe current render mode. -
rise
float riseThe current text rise -
knockout
private final boolean knockoutThe current knockout value.
-
-
Constructor Details
-
GraphicsState
public GraphicsState()Constructs a new Graphics State object with the default values. -
GraphicsState
Copy constructor.- Parameters:
source
- another GraphicsState object
-