Class: PSD::VectorStrokeContent
- Defined in:
- lib/psd/layer_info/vector_stroke_content.rb
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
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
#key ⇒ Object (readonly)
Returns the value of attribute key.
7 8 9 |
# File 'lib/psd/layer_info/vector_stroke_content.rb', line 7 def key @key end |
Instance Method Details
#parse ⇒ Object
9 10 11 12 13 |
# File 'lib/psd/layer_info/vector_stroke_content.rb', line 9 def parse key = @file.read_string(4) version = @file.read_int @data = Descriptor.new(@file).parse end |