module PDF::Reader::ResourceMethods
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!(resources[:Shading]) || {} end