Sha256: 055a94c76be861b7a5d6a99dcdf38241add79d28248f89e85e8091681402d7b7

Contents?: true

Size: 252 Bytes

Versions: 5

Compression:

Stored size: 252 Bytes

Contents

require 'psd/layer_info'

class PSD
  class PatternFill < LayerInfo
    def self.should_parse?(key)
      key == 'PtFl'
    end

    def parse
      # Version
      @file.seek 4, IO::SEEK_CUR
      @data = Descriptor.new(@file).parse
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
psd-3.9.0 lib/psd/layer/info/pattern_fill.rb
psd-3.8.0 lib/psd/layer/info/pattern_fill.rb
psd-3.7.0 lib/psd/layer/info/pattern_fill.rb
psd-3.6.0 lib/psd/layer/info/pattern_fill.rb
psd-3.5.0 lib/psd/layer/info/pattern_fill.rb