summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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