Difference between revisions of "Path2D:setFillColor"
From GiderosMobile
Line 2: | Line 2: | ||
'''Available since:''' Gideros 2016.04<br/> | '''Available since:''' Gideros 2016.04<br/> | ||
=== Description === | === Description === | ||
− | Sets fill color | + | <translate>Sets fill color</translate> |
<source lang="lua"> | <source lang="lua"> | ||
Path2D:setFillColor(color,alpha) | Path2D:setFillColor(color,alpha) | ||
</source> | </source> | ||
=== Parameters === | === Parameters === | ||
− | '''color''': (hex) color to use <br/> | + | '''color''': (hex) <translate>color to use</translate> <br/> |
− | '''alpha''': (number) opacity of fill from 0 to 1, default 1 '''optional'''<br/> | + | '''alpha''': (number) <translate>opacity of fill from 0 to 1, default 1</translate> '''optional'''<br/> |
Revision as of 13:34, 23 August 2018
Available since: Gideros 2016.04
Description
Sets fill color
Path2D:setFillColor(color,alpha)
Parameters
color: (hex) color to use
alpha: (number) opacity of fill from 0 to 1, default 1 optional