public class GraphicsState
extends java.lang.Object
Constructor and Description |
---|
GraphicsState()
Constructs a new Graphics State object with the default values.
|
GraphicsState(GraphicsState source)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
float |
getCharacterSpacing()
Getter for the character spacing.
|
PdfName |
getColorSpaceFill()
Gets the current color space for fill operations
|
PdfName |
getColorSpaceStroke()
Gets the current color space for stroke operations
|
Matrix |
getCtm()
Getter for the current transformation matrix
|
BaseColor |
getFillColor()
Gets the current fill color
|
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
|
BaseColor |
getStrokeColor()
Gets the current stroke color
|
float |
getWordSpacing()
Getter for the word spacing
|
boolean |
isKnockout()
Getter for knockout
|
public GraphicsState()
public GraphicsState(GraphicsState source)
source
- another GraphicsState objectpublic 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()
public PdfName getColorSpaceFill()
public PdfName getColorSpaceStroke()
public BaseColor getFillColor()
public BaseColor getStrokeColor()
Copyright © 2013. All Rights Reserved.