Method: PSD::TypeTool#text_value
- Defined in:
- lib/psd/layer/info/typetool.rb
#text_value ⇒ Object Also known as: to_s
Extracts the text within the text area. In the event that psd-enginedata fails for some reason, we attempt to extract the text using some rough regex.
43 44 45 |
# File 'lib/psd/layer/info/typetool.rb', line 43 def text_value @data[:text]['Txt '] end |