Changes

Jump to navigation Jump to search

gc:setPen

693 bytes added, 15:21, 10 June 2012
Created page with " '''setPen''' is a function that is part of gc. Sets the pen for drawing lines and borders. <br /> {{Since|3.0}} ==Syntax== gc:'''setPen'''([thickness[, style..."

'''setPen''' is a function that is part of [[:Category:gc|gc]].

Sets the pen for drawing lines and borders.

<br /> {{Since|3.0}}

==Syntax==
gc:'''setPen'''([thickness[, style]])

If the thickness is not specified, it defaults to ”thin.”, and if the style is not specified, it defaults to ”smooth.”


{| class="wikitable"
|-
! Parameter !! Type !! Description
|-
| <u><center>thickness</center></u> || string || Optional. Can be "thick", "medium" or "thick"
|-
| <u><center>style</center></u> || string || Optional. Can be "smooth", "dotted", "dashed"
|-
|}

== Example ==
<syntaxhighlight>gc:setPen("thick","dotted")</syntaxhighlight>

<br />
[[Category:gc]]

Navigation menu