Class: PSD::BlendClippingElements

Inherits:
LayerInfo
  • Object
show all
Defined in:
lib/psd/layer_info/blend_clipping_elements.rb

Instance Attribute Summary collapse

Attributes inherited from LayerInfo

#data

Instance Method Summary collapse

Methods inherited from LayerInfo

#initialize, #skip

Constructor Details

This class inherits a constructor from PSD::LayerInfo

Instance Attribute Details

#enabledObject (readonly)

Returns the value of attribute enabled.



7
8
9
# File 'lib/psd/layer_info/blend_clipping_elements.rb', line 7

def enabled
  @enabled
end

Instance Method Details

#parseObject



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

def parse
  @enabled = @file.read_boolean
  @file.seek 3, IO::SEEK_CUR
end