Class: PSD::FillOpacity
- Defined in:
- lib/psd/layer_info/fill_opacity.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Attributes inherited from LayerInfo
Instance Method Summary collapse
Methods inherited from LayerInfo
Constructor Details
This class inherits a constructor from PSD::LayerInfo
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
7 8 9 |
# File 'lib/psd/layer_info/fill_opacity.rb', line 7 def value @value end |
Instance Method Details
#parse ⇒ Object
9 10 11 |
# File 'lib/psd/layer_info/fill_opacity.rb', line 9 def parse @value = @file.read_byte.to_i end |