Difference between revisions of "Path2D:setLineColor"
From GiderosMobile
| 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 line color</translate>  | <translate>Sets line color</translate>  | ||
<source lang="lua">  | <source lang="lua">  | ||
  Path2D:setLineColor(color,alpha)  |   Path2D:setLineColor(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 line from 0 to 1, default 1</translate> '''optional'''<br/>  | '''alpha''': (number) <translate>opacity of line from 0 to 1, default 1</translate> '''optional'''<br/>  | ||
Revision as of 07:30, 24 August 2018
Available since: Gideros 2016.04
Description
Sets line color
 Path2D:setLineColor(color,alpha)
Parameters
color: (hex) color to use 
alpha: (number) opacity of line from 0 to 1, default 1 optional