From c44ef31172ceb42804331bd2b13649287c48a211 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 3 Jan 2021 15:46:21 +0100 Subject: doc: Fix documentation for polygon. --- doc/picture-language.texi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/picture-language.texi b/doc/picture-language.texi index 069281b..c3005da 100644 --- a/doc/picture-language.texi +++ b/doc/picture-language.texi @@ -233,7 +233,7 @@ with @code{map} and @code{cons}: @cindex polygon, simple shape @deffn {Scheme Procedure} polygon @ @var{points} @ - [#:color @var{"black"} #:stroke-width @var{1}] + [#:border-color @var{"black"} #:border-width @var{1}] The @code{polygon} procedure has almost the exact same behavior as @code{polyline}, except that it connects the first point and the last @@ -242,8 +242,8 @@ the two points unconnected. This procedure draws a line through @var{POINTS}, a list of x and y coordinate pairs, connecting the first and last points. The keys -@var{COLOR} (a string) and @var{STROKE-WIDTH} (a number) are accepted to -override the line color and line thickness. +@var{BORDER-COLOR} (a string) and @var{BORDER-WIDTH} (a number) are +accepted to override the line color and line thickness. @end deffn @cindex polygon, example -- cgit v1.2.3