Path2D:setFillColor: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 6: Line 6:
  Path2D:setFillColor(color,alpha)
  Path2D:setFillColor(color,alpha)
</source>
</source>
'''color''': (hex) color to use ''''''<br/>
=== Parameters ===
'''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 09:46, 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