Path2D:setLineThickness

Revision as of 23:28, 3 December 2019 by MoKaLux (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Available since: Gideros 2016.04
Class: Path2D

Description

Sets the thickness (width) of the outline, and optionnally set the amount of 'feather' effect.

 Path2D:setLineThickness(thickness,feather)

Parameters

thickness: (number) line thickness in sprite coordinates units
feather: (number) Sets the amount of 'feather' effect, i.e. the ratio of the line thickness that will be blurred with background. Values range from 0 (sharp edges) to 1. optional