From 43f57faec479bf364a05cf9205cf5c6fabd39bf1 Mon Sep 17 00:00:00 2001 From: James Elliott Date: Wed, 25 Mar 2020 23:22:01 -0500 Subject: [PATCH] Document draw-boxes. --- doc/modules/ROOT/pages/funcs.adoc | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/doc/modules/ROOT/pages/funcs.adoc b/doc/modules/ROOT/pages/funcs.adoc index d7978cd..06d873d 100644 --- a/doc/modules/ROOT/pages/funcs.adoc +++ b/doc/modules/ROOT/pages/funcs.adoc @@ -275,8 +275,20 @@ attribute): [[draw-boxes]] == draw-boxes -> TODO: Document +This is a shortcut for drawing mutiple labels with the same attributes +for each. It calls <> for each value in `labels`. + +.Arguments +[source,clojure] +---- +[labels] +[labels attr-spec] +---- +If you pass `attr-spec` it will be used when calling `draw-box` for +each value in `labels`. See the <> +for details about how labels and attributes are used to control the +drawing of the boxes. [[draw-column-headers]] == draw-column-headers