- java.lang.Object
-
- org.jfree.pdf.internal.PDFObject
-
- org.jfree.pdf.dictionary.DictionaryObject
-
- org.jfree.pdf.dictionary.GraphicsStateDictionary
-
public class GraphicsStateDictionary extends DictionaryObject
A graphics state dictionary.
-
-
Field Summary
Fields Modifier and Type Field Description private float
nonStrokeAlpha
private float
strokeAlpha
-
Fields inherited from class org.jfree.pdf.dictionary.DictionaryObject
dictionary
-
-
Constructor Summary
Constructors Constructor Description GraphicsStateDictionary(int number)
Creates a new instance with the type/ExtGState
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getNonStrokeAlpha()
Returns the non-stroke alpha (a value in the range0.0
to1.0
).float
getStrokeAlpha()
Returns the stroke alpha (in the range0.0
to1.0
).void
setNonStrokeAlpha(float alpha)
Sets the non-stroke alpha.void
setStrokeAlpha(float alpha)
Sets the stroke alpha.-
Methods inherited from class org.jfree.pdf.dictionary.DictionaryObject
getObjectBytes, put, remove
-
Methods inherited from class org.jfree.pdf.internal.PDFObject
getGeneration, getNumber, getReference, toPDFBytes
-
-
-
-
Method Detail
-
getStrokeAlpha
public float getStrokeAlpha()
Returns the stroke alpha (in the range0.0
to1.0
).- Returns:
- The stroke alpha.
-
setStrokeAlpha
public void setStrokeAlpha(float alpha)
Sets the stroke alpha.- Parameters:
alpha
- the stroke alpha (in the range0.0
to1.0
).
-
getNonStrokeAlpha
public float getNonStrokeAlpha()
Returns the non-stroke alpha (a value in the range0.0
to1.0
).- Returns:
- The non-stroke alpha.
-
setNonStrokeAlpha
public void setNonStrokeAlpha(float alpha)
Sets the non-stroke alpha.- Parameters:
alpha
- the new alpha value (in the range0.0
to1.0
).
-
-