Class GraphicsStateDictionary


public class GraphicsStateDictionary extends DictionaryObject
A graphics state dictionary.
  • Field Details

    • strokeAlpha

      private float strokeAlpha
    • nonStrokeAlpha

      private float nonStrokeAlpha
  • Constructor Details

    • GraphicsStateDictionary

      public GraphicsStateDictionary(int number)
      Creates a new instance with the type /ExtGState.
      Parameters:
      number - the PDF object number.
  • Method Details

    • getStrokeAlpha

      public float getStrokeAlpha()
      Returns the stroke alpha (in the range 0.0 to 1.0).
      Returns:
      The stroke alpha.
    • setStrokeAlpha

      public void setStrokeAlpha(float alpha)
      Sets the stroke alpha.
      Parameters:
      alpha - the stroke alpha (in the range 0.0 to 1.0).
    • getNonStrokeAlpha

      public float getNonStrokeAlpha()
      Returns the non-stroke alpha (a value in the range 0.0 to 1.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 range 0.0 to 1.0).