Sha256: 78a651241764b61a461c3eb76d8d566d2eba5e2e4ad4109f414bd22172247a25

Contents?: true

Size: 286 Bytes

Versions: 13

Compression:

Stored size: 286 Bytes

Contents

require 'psd/layer_info'

class PSD
  class SheetColor < LayerInfo
    def self.should_parse?(key)
      key == 'lclr'
    end

    def parse
      @data = [
        @file.read_short,
        @file.read_short,
        @file.read_short,
        @file.read_short
      ]
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
psd-3.4.0 lib/psd/layer/info/sheet_color.rb
psd-3.3.3 lib/psd/layer/info/sheet_color.rb
psd-3.3.2 lib/psd/layer/info/sheet_color.rb
psd-3.3.1 lib/psd/layer/info/sheet_color.rb
psd-3.2.4 lib/psd/layer_info/sheet_color.rb
psd-3.2.3 lib/psd/layer_info/sheet_color.rb
psd-3.2.2 lib/psd/layer_info/sheet_color.rb
psd-3.2.1 lib/psd/layer_info/sheet_color.rb
psd-3.2.0 lib/psd/layer_info/sheet_color.rb
psd-3.1.5 lib/psd/layer_info/sheet_color.rb
psd-3.1.4 lib/psd/layer_info/sheet_color.rb
psd-3.1.3 lib/psd/layer_info/sheet_color.rb
psd-3.1.2 lib/psd/layer_info/sheet_color.rb