|
jPod PDF library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.intarsys.pdf.content.GraphicsState
public final class GraphicsState
The state information for performing graphic operations.
Field Summary | |
---|---|
int |
capStyle
A code defining the shape of a lines endpoint initial value: 0 (square butt) |
Shape |
clip
all graphics operations are clipped at this boundary initial value: entire page |
float[] |
dashPattern
The dash pattern used for stroking initial value: solid line |
float |
dashPhase
The phase of the dash pattern initial value: 0 |
PDExtGState |
extState
|
int |
joinStyle
A code defining the shape of line joins initial value: 0 (miter) |
float |
lineWidth
The thickness of stroked lines initial value: 1 |
float |
miterLimit
The maximum length of mitered line joins initial value: 10 |
float |
nonStrokeAlphaValue
The alpha (transparency) value for non stroking operations. |
PDColorSpace |
nonStrokeColorSpace
|
float[] |
nonStrokeColorValues
|
float |
strokeAlphaValue
The alpha (transparency) value for stroking operations This is contained in the ExtGState but is cached as it is heavily uesd. |
PDColorSpace |
strokeColorSpace
|
float[] |
strokeColorValues
|
TextState |
textState
The parameters used for rendering text operations. |
AffineTransform |
transform
|
Constructor Summary | |
---|---|
GraphicsState()
Create a new graphic state for the renderer |
Method Summary | |
---|---|
GraphicsState |
copy()
|
Object |
getAttribute(Object key)
Get a generic attribute value. |
Object |
removeAttribute(Object key)
Clear a generic attribute value. |
Object |
setAttribute(Object key,
Object value)
Set a generic attribute value. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int capStyle
initial value: 0 (square butt)
public Shape clip
initial value: entire page
public float[] dashPattern
initial value: solid line
public float dashPhase
initial value: 0
public int joinStyle
initial value: 0 (miter)
public float lineWidth
initial value: 1
public float miterLimit
initial value: 10
public float nonStrokeAlphaValue
This is contained in the ExtGState but is cached as it is heavily uesd.
public PDColorSpace nonStrokeColorSpace
public float[] nonStrokeColorValues
public float strokeAlphaValue
This is contained in the ExtGState but is cached as it is heavily uesd.
public PDColorSpace strokeColorSpace
public PDExtGState extState
public float[] strokeColorValues
public TextState textState
public AffineTransform transform
Constructor Detail |
---|
public GraphicsState()
Method Detail |
---|
public GraphicsState copy()
public final Object getAttribute(Object key)
ATTENTION: to speed up a little, an IdentityHashMap
is used for
implementing IAttributeSupport
. Be sure to use appropriate keys
(for example Attribute
), not String
.
getAttribute
in interface de.intarsys.tools.attribute.IAttributeSupport
IAttributeSupport.getAttribute(java.lang.Object)
public final Object removeAttribute(Object key)
ATTENTION: to speed up a little, an IdentityHashMap
is used for
implementing IAttributeSupport
. Be sure to use appropriate keys
(for example Attribute
), not String
.
removeAttribute
in interface de.intarsys.tools.attribute.IAttributeSupport
IAttributeSupport.removeAttribute(java.lang.Object)
public final Object setAttribute(Object key, Object value)
ATTENTION: to speed up a little, an IdentityHashMap
is used for
implementing IAttributeSupport
. Be sure to use appropriate keys
(for example Attribute
), not String
.
setAttribute
in interface de.intarsys.tools.attribute.IAttributeSupport
IAttributeSupport.setAttribute(java.lang.Object,
java.lang.Object)
|
jPod PDF library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |