Class: PSD::PlacedLayer

Inherits:
LayerInfo show all
Defined in:
lib/psd/layer_info/placed_layer.rb

Instance Attribute Summary

Attributes inherited from LayerInfo

#data

Instance Method Summary collapse

Methods inherited from LayerInfo

#initialize

Constructor Details

This class inherits a constructor from PSD::LayerInfo

Instance Method Details

#parseObject



7
8
9
10
11
# File 'lib/psd/layer_info/placed_layer.rb', line 7

def parse
  # Useless id/version info
  @file.seek 12, IO::SEEK_CUR
  @data = Descriptor.new(@file).parse
end