Method: PDF::Reader::Resources#shadings
- Defined in:
- lib/pdf/reader/resources.rb
#shadings ⇒ Object
Returns a Hash of shadings 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]
92 93 94 |
# File 'lib/pdf/reader/resources.rb', line 92 def shadings @objects.deref_hash!(@resources[:Shading]) || {} end |