public class GraphicsStateDictionary extends DictionaryObject
dictionary
Constructor and Description |
---|
GraphicsStateDictionary(int number)
Creates a new instance with the type
/ExtGState . |
Modifier and Type | Method and Description |
---|---|
float |
getNonStrokeAlpha()
Returns the non-stroke alpha (a value in the range
0.0 to
1.0 ). |
float |
getStrokeAlpha()
Returns the stroke alpha (in the range
0.0 to 1.0 ). |
void |
setNonStrokeAlpha(float alpha)
Sets the non-stroke alpha.
|
void |
setStrokeAlpha(float alpha)
Sets the stroke alpha.
|
getObjectBytes, put, remove
getGeneration, getNumber, getReference, toPDFBytes
public GraphicsStateDictionary(int number)
/ExtGState
.number
- the PDF object number.public float getStrokeAlpha()
0.0
to 1.0
).public void setStrokeAlpha(float alpha)
alpha
- the stroke alpha (in the range 0.0
to 1.0
).public float getNonStrokeAlpha()
0.0
to
1.0
).public void setNonStrokeAlpha(float alpha)
alpha
- the new alpha value (in the range 0.0
to
1.0
).