|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.itextpdf.text.pdf.parser.GraphicsState
public class GraphicsState
Keeps all the parameters of the graphics state.
| Field Summary | |
|---|---|
(package private) float |
characterSpacing
The current character spacing. |
(package private) Matrix |
ctm
The current transformation matrix. |
(package private) CMapAwareDocumentFont |
font
The active font. |
(package private) float |
fontSize
The current font size. |
(package private) float |
horizontalScaling
The current horizontal scaling |
(package private) boolean |
knockout
The current knockout value. |
(package private) float |
leading
The current leading. |
(package private) int |
renderMode
The current render mode. |
(package private) float |
rise
The current text rise |
(package private) float |
wordSpacing
The current word spacing. |
| Constructor Summary | |
|---|---|
GraphicsState()
Constructs a new Graphics State object with the default values. |
|
GraphicsState(GraphicsState source)
Copy constructor. |
|
| Method Summary | |
|---|---|
float |
getCharacterSpacing()
Getter for the character spacing. |
Matrix |
getCtm()
Getter for the current transformation matrix |
CMapAwareDocumentFont |
getFont()
Getter for the font |
float |
getFontSize()
Getter for the font size |
float |
getHorizontalScaling()
Getter for the horizontal scaling |
float |
getLeading()
Getter for the leading |
int |
getRenderMode()
Getter for the render mode |
float |
getRise()
Getter for text rise |
float |
getWordSpacing()
Getter for the word spacing |
boolean |
isKnockout()
Getter for knockout |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
Matrix ctm
float characterSpacing
float wordSpacing
float horizontalScaling
float leading
CMapAwareDocumentFont font
float fontSize
int renderMode
float rise
boolean knockout
| Constructor Detail |
|---|
public GraphicsState()
public GraphicsState(GraphicsState source)
source - another GraphicsState object| Method Detail |
|---|
public Matrix getCtm()
public float getCharacterSpacing()
public float getWordSpacing()
public float getHorizontalScaling()
public float getLeading()
public CMapAwareDocumentFont getFont()
public float getFontSize()
public int getRenderMode()
public float getRise()
public boolean isKnockout()
|
Hosted by Hostbasket | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||