image-height

Category: Image procedures

Documentation

;;; (image-height img) -> exact-integer?
;;;   img : image?
;;; Get the height of the image.
;;;
;;; In contrast to procedures like `ellipse-height`, which give the
;;; height of the underlying shape, even when outlined, `image-height`
;;; gives the full height of the image.

Examples

> (image-height (solid-circle 20 "blue"))
20
> (image-height (outlined-circle 20 "blue" 5))
30
> (ellipse-height (solid-circle 20 "blue"))
20
> (ellipse-height (outlined-circle 20 "blue" 5))
20

Tests

Forthcoming

See also

ellipse-height, rectangle-height

Questions

Forthcoming