summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-06-14 23:35:33 +0200
committerRicardo Wurmus <rekado@elephly.net>2019-06-14 23:35:33 +0200
commite79fa7da00bb13d34abdaf7927b6bbe2a11a2ad2 (patch)
tree1399a70ac930df3166b6320a622339372f62ddbe
parentfdb2c4dd5696c1d0745643b0d9be215a8b404437 (diff)
pict: rectangle: Add docstring.
* pict.scm (rectangle): Add docstring.
-rw-r--r--pict.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/pict.scm b/pict.scm
index a70a558..a5f0b0b 100644
--- a/pict.scm
+++ b/pict.scm
@@ -724,6 +724,10 @@ override the line color and line thickness."
(border-width 1)
(rx 0)
(ry 0))
+ "Return a rectangle with width W and height H. The keys
+BORDER-COLOR (a string) and BORDER-WIDTH (a number) are accepted to
+override the line color and line thickness, respectively. The keys RX
+and RY can be provided to round off the corners."
(make-pict
`(svg (@ (width ,w)
(height ,h)