Constructor
new Stroke(rac, weightnullable, colornullable)
#
| source:
style/Stroke.js, line 24
Creates a new Stroke
instance.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rac |
Rac
|
Instance to use for drawing and creating other objects |
||
weight |
number
|
<nullable> |
The weight of the stroke, or |
|
color |
Rac.Color
|
<nullable> |
null |
A |