Path2D:setFillColor: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
'''Available since:''' Gideros 2016.04<br/>
'''<translate>Available since</translate>:''' Gideros 2016.04<br/>
=== Description ===
=== <translate>Description</translate> ===
<translate>Sets fill color</translate>
<translate>Sets fill color</translate>
<source lang="lua">
<source lang="lua">
  Path2D:setFillColor(color,alpha)
  Path2D:setFillColor(color,alpha)
</source>
</source>
=== Parameters ===
=== <translate>Parameters</translate> ===
'''color''': (hex) <translate>color to use</translate> <br/>
'''color''': (hex) <translate>color to use</translate> <br/>
'''alpha''': (number) <translate>opacity of fill from 0 to 1, default 1</translate> '''optional'''<br/>
'''alpha''': (number) <translate>opacity of fill from 0 to 1, default 1</translate> '''optional'''<br/>

Revision as of 06:29, 24 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