Sha256: 7dd91f29276df890911050db3e6c153a14d61fa2fb53601cf72ff671bbf6fd20
Contents?: true
Size: 499 Bytes
Versions: 4
Compression:
Stored size: 499 Bytes
Contents
class PSD # Parent class for all of the extra layer info. class LayerInfo attr_reader :data # The value of the key as used in the PSD format. class << self; attr_accessor :key; end @key = "" def initialize(layer, length) @layer = layer @file = layer.file @length = length @section_end = @file.tell + @length @data = {} end # Override this - default seeks to end of section def parse @file.seek @section_end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
psd-1.4.3 | lib/psd/layer_info.rb |
psd-1.4.2 | lib/psd/layer_info.rb |
psd-1.4.1 | lib/psd/layer_info.rb |
psd-1.4.0 | lib/psd/layer_info.rb |