Class: PSD::ObjectEffects
Instance Attribute Summary
Attributes inherited from LayerInfo
#data
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from LayerInfo
#initialize, #skip
Constructor Details
This class inherits a constructor from PSD::LayerInfo
Class Method Details
.should_parse?(key) ⇒ Boolean
5
6
7
|
# File 'lib/psd/layer/info/object_effects.rb', line 5
def self.should_parse?(key)
key == 'lfx2'
end
|
Instance Method Details
#parse ⇒ Object
9
10
11
12
13
14
|
# File 'lib/psd/layer/info/object_effects.rb', line 9
def parse
version = @file.read_int
descriptor_version = @file.read_int
@data = Descriptor.new(@file).parse
end
|