Package com.lowagie.text.pdf
Class PdfContentByte.GraphicState
- java.lang.Object
-
- com.lowagie.text.pdf.PdfContentByte.GraphicState
-
- Enclosing class:
- PdfContentByte
static class PdfContentByte.GraphicState extends java.lang.Object
This class keeps the graphic state of the current page
-
-
Field Summary
Fields Modifier and Type Field Description protected float
charSpace
The current character spacing(package private) ColorDetails
colorDetails
This is the color in useprotected ExtendedColor
colorFill
protected ExtendedColor
colorStroke
protected PdfObject
extGState
(package private) FontDetails
fontDetails
This is the font in useprotected float
leading
The current text leading.protected float
scale
The current horizontal scaling(package private) float
size
This is the font size in useprotected float
wordSpace
The current word spacingprotected float
xTLM
The x position of the text line matrix.protected float
yTLM
The y position of the text line matrix.
-
Constructor Summary
Constructors Constructor Description GraphicState()
GraphicState(PdfContentByte.GraphicState cp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
copyParameters(PdfContentByte.GraphicState cp)
(package private) void
restore(PdfContentByte.GraphicState restore)
-
-
-
Field Detail
-
xTLM
protected float xTLM
The x position of the text line matrix.
-
yTLM
protected float yTLM
The y position of the text line matrix.
-
leading
protected float leading
The current text leading.
-
scale
protected float scale
The current horizontal scaling
-
charSpace
protected float charSpace
The current character spacing
-
wordSpace
protected float wordSpace
The current word spacing
-
colorFill
protected ExtendedColor colorFill
-
colorStroke
protected ExtendedColor colorStroke
-
extGState
protected PdfObject extGState
-
fontDetails
FontDetails fontDetails
This is the font in use
-
colorDetails
ColorDetails colorDetails
This is the color in use
-
size
float size
This is the font size in use
-
-
Constructor Detail
-
GraphicState
GraphicState()
-
GraphicState
GraphicState(PdfContentByte.GraphicState cp)
-
-
Method Detail
-
copyParameters
void copyParameters(PdfContentByte.GraphicState cp)
-
restore
void restore(PdfContentByte.GraphicState restore)
-
-