From 2bd2fd9dd827285e8aee96ac887961cc00287e5b Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 14 Jun 2019 23:37:13 +0200 Subject: pict: filled-rectangle: Add docstring. * pict.scm (filled-rectangle): Add docstring. --- pict.scm | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.3