Method: Processing::Image#height

Defined in:
lib/processing/image.rb

#heightNumeric Also known as: h

Gets height of image.



37
38
39
# File 'lib/processing/image.rb', line 37

def height()
  @image&.height || (@error ? -1 : 0)
end