summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-06-14 23:37:13 +0200
committerRicardo Wurmus <rekado@elephly.net>2019-06-14 23:37:13 +0200
commit2bd2fd9dd827285e8aee96ac887961cc00287e5b (patch)
treecde222db442fa49e0fbbf2d209c2f260a85c0d40
parente79fa7da00bb13d34abdaf7927b6bbe2a11a2ad2 (diff)
pict: filled-rectangle: Add docstring.
* pict.scm (filled-rectangle): Add docstring.
-rw-r--r--pict.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/pict.scm b/pict.scm
index a5f0b0b..1d4777e 100644
--- a/pict.scm
+++ b/pict.scm
@@ -751,6 +751,12 @@ and RY can be provided to round off the corners."
(border-width 1)
(rx 0)
(ry 0))
+ "Return a filled 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. The key COLOR (a
+string) controls the fill color of the rectangle; by default it is
+filled with black."
(fill (rectangle w h
#:border-color border-color
#:border-width border-width