Method: PSD::TypeTool#font

Defined in:
lib/psd/layer_info/typetool.rb

#fontObject

Gets all of the basic font information for this text area. This assumes that the first font is the only one you want.



56
57
58
59
60
61
62
63
# File 'lib/psd/layer_info/typetool.rb', line 56

def font
  {
    name: fonts.first,
    sizes: sizes,
    colors: colors,
    css: to_css
  }
end