]> gitweb.factorcode.org Git - factor.git/blob - basis/ui/pens/polygon/polygon-docs.factor
Merge OneEyed's patch
[factor.git] / basis / ui / pens / polygon / polygon-docs.factor
1 IN: ui.pens.polygon
2 USING: help.markup help.syntax ;
3
4 HELP: polygon
5 { $class-description "A class implementing the " { $link draw-boundary } " and " { $link draw-interior } " generic words to draw a solid outline or a solid filled polygon, respectively. Instances of " { $link polygon } " have two slots:"
6     { $list
7         { { $snippet "color" } " - a " { $link color } }
8         { { $snippet "points" } " - a sequence of points" }
9     }
10 } ;
11
12 HELP: <polygon>
13 { $values { "color" color } { "points" "a sequence of points" } { "polygon" polygon } }
14 { $description "Creates a new instance of " { $link polygon } "." } ;