Method: PSD::Node::Root#document_dimensions
- Defined in:
- lib/psd/node_root.rb
#document_dimensions ⇒ Object
Returns the width and height of the entire PSD document.
30 31 32 |
# File 'lib/psd/node_root.rb', line 30 def document_dimensions [@psd.header.width, @psd.header.height] end |