Difference between revisions of "Path2D:setLineColor"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''<translate>Available since</translate>:''' Gideros 2016.04<br/>
 
'''<translate>Available since</translate>:''' Gideros 2016.04<br/>
 +
'''<translate>Class</translate>:''' [[Special:MyLanguage/Path2D|Path2D]]<br/>
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate>Sets line color</translate>
 
<translate>Sets line color</translate>

Revision as of 10:28, 24 August 2018

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