Method: PDF::Reader::Resources#graphic_states

Defined in:
lib/pdf/reader/resources.rb

#graphic_statesObject

Returns a Hash of external graphic states that are available to this page

NOTE: this method de-serialise objects from the underlying PDF

with no caching. You will want to cache the results instead
of calling it over and over.

: () -> Hash[Symbol, untyped]



48
49
50
# File 'lib/pdf/reader/resources.rb', line 48

def graphic_states
  @objects.deref_hash!(@resources[:ExtGState]) || {}
end