com.lowagie.text.pdf.parser

Class GraphicsState

public class GraphicsState extends Object

Keeps all the parameters of the graphics state.

Since: 2.1.4

Field Summary
floatcharacterSpacing
The current character spacing.
Matrixctm
The current transformation matrix.
CMapAwareDocumentFontfont
The active font.
floatfontSize
The current font size.
floathorizontalScaling
The current horizontal scaling
booleanknockout
The current knockout value.
floatleading
The current leading.
intrenderMode
The current render mode.
floatrise
The current text rise
floatwordSpacing
The current word spacing.
Constructor Summary
GraphicsState()
Constructs a new Graphics State object with the default values.
GraphicsState(GraphicsState source)
Copy constructor.

Field Detail

characterSpacing

float characterSpacing
The current character spacing.

ctm

Matrix ctm
The current transformation matrix.

font

CMapAwareDocumentFont font
The active font.

fontSize

float fontSize
The current font size.

horizontalScaling

float horizontalScaling
The current horizontal scaling

knockout

boolean knockout
The current knockout value.

leading

float leading
The current leading.

renderMode

int renderMode
The current render mode.

rise

float rise
The current text rise

wordSpacing

float wordSpacing
The current word spacing.

Constructor Detail

GraphicsState

public GraphicsState()
Constructs a new Graphics State object with the default values.

GraphicsState

public GraphicsState(GraphicsState source)
Copy constructor.

Parameters: source another GraphicsState object