Difference between revisions of "Path2D:setFillColor"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2016.04<br/> === Description === Sets fill color <source lang="lua"> = Path2D:setFillColor(coloralpha,) </source> '''color:''' (hex) c...")
 
Line 4: Line 4:
 
Sets fill color
 
Sets fill color
 
<source lang="lua">
 
<source lang="lua">
= Path2D:setFillColor(coloralpha,)
+
Path2D:setFillColor(color,alpha)
 
</source>
 
</source>
'''color:''' (hex) color to use ''''''<br/>
+
'''color''': (hex) color to use ''''''<br/>
'''alpha:''' (number) opacity of fill from 0 to 1, default 1 '''optional'''<br/>
+
'''alpha''': (number) opacity of fill from 0 to 1, default 1 '''optional'''<br/>

Revision as of 11:21, 23 August 2018

Available since: Gideros 2016.04

Description

Sets fill color

 Path2D:setFillColor(color,alpha)

'color: (hex) color to use '
alpha: (number) opacity of fill from 0 to 1, default 1 optional