Difference between revisions of "Path2D:setLineColor"

From GiderosMobile
Line 11: Line 11:
 
'''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/>
 +
 +
{{Path2D}}

Revision as of 22:28, 3 December 2019


Available since: Gideros 2016.04
Class: Path2D

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