Path2D:setFillColor

This page contains changes which are not marked for translation.


Available since: Gideros 2016.04
Class: Path2D
Since Gideros 2019.12, this function accepts gradients the same way as Pixel:setColor().

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