Sha256: 5c35e932712a0e2f36e4a2cff34d870ee783a31ecef9ac9dfb504d1986d3270d

Contents?: true

Size: 378 Bytes

Versions: 23

Compression:

Stored size: 378 Bytes

Contents

module PDF
  class Inspector
    class ExtGState < Inspector
      attr_accessor :extgstates

      def initialize
        @extgstates = []
      end

      def resource_extgstate(*params)
        @extgstates << {
                        :opacity => params[1][:ca],
                        :stroke_opacity => params[1][:CA]
                        }
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 10 rubygems

Version Path
prawn-core-0.6.2 vendor/pdf-inspector/lib/pdf/inspector/extgstate.rb
prawn-layout-0.3.1 vendor/prawn-core/vendor/pdf-inspector/lib/pdf/inspector/extgstate.rb
prawn-core-0.6.1 vendor/pdf-inspector/lib/pdf/inspector/extgstate.rb