Sha256: f8771ecfbae38d29f3dcd9dc72acfedde71868b9643ab830ef48a6026c01938b

Contents?: true

Size: 237 Bytes

Versions: 16

Compression:

Stored size: 237 Bytes

Contents

require 'psd/layer_info'

class PSD
  class GradientFill < LayerInfo
    def self.should_parse?(key)
      key == 'GdFl'
    end

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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
psd-3.9.0 lib/psd/layer/info/gradient_fill.rb
psd-3.8.0 lib/psd/layer/info/gradient_fill.rb
psd-3.7.0 lib/psd/layer/info/gradient_fill.rb
psd-3.6.0 lib/psd/layer/info/gradient_fill.rb
psd-3.5.0 lib/psd/layer/info/gradient_fill.rb
psd-3.4.0 lib/psd/layer/info/gradient_fill.rb
psd-3.3.3 lib/psd/layer/info/gradient_fill.rb
psd-3.3.2 lib/psd/layer/info/gradient_fill.rb
psd-3.3.1 lib/psd/layer/info/gradient_fill.rb
psd-3.2.4 lib/psd/layer_info/gradient_fill.rb
psd-3.2.3 lib/psd/layer_info/gradient_fill.rb
psd-3.2.2 lib/psd/layer_info/gradient_fill.rb
psd-3.2.1 lib/psd/layer_info/gradient_fill.rb
psd-3.2.0 lib/psd/layer_info/gradient_fill.rb
psd-3.1.5 lib/psd/layer_info/gradient_fill.rb
psd-3.1.4 lib/psd/layer_info/gradient_fill.rb