Difference between revisions of "Path2D:setLineColor"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2016.04<br/> === Description === Sets line color <source lang="lua"> = Path2D:setLineColor(coloralpha,) </source> '''color:''' (hex) c...") |
|||
Line 4: | Line 4: | ||
Sets line color | Sets line color | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | Path2D:setLineColor(color,alpha) | |
</source> | </source> | ||
− | '''color | + | '''color''': (hex) color to use ''''''<br/> |
− | '''alpha | + | '''alpha''': (number) opacity of line from 0 to 1, default 1 '''optional'''<br/> |
Revision as of 10:18, 23 August 2018
Available since: Gideros 2016.04
Description
Sets line color
Path2D:setLineColor(color,alpha)
'color: (hex) color to use '
alpha: (number) opacity of line from 0 to 1, default 1 optional