class PDF::Reader::Resources
def shadings
of calling it over and over.
with no caching. You will want to cache the results instead
NOTE: this method de-serialise objects from the underlying PDF
Returns a Hash of shadings that are available to this page
def shadings @objects.deref_hash!(@resources[:Shading]) || {} end