X Media:floodFill: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
 
'''Available since:''' Gideros 2016.1<br/>
'''<translate>Available since</translate>:''' Gideros 2016.1<br/>
'''Class:''' [[Media]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Media|Media]]<br/>


=== Description ===
=== Description ===

Revision as of 04:16, 11 June 2023

Available since: Gideros 2016.1
Class: Media

Description

Flood fills area with provided color based on tolerance to other colors.

Media:floodFill(x, y, hexColor, alpha, tolerance, blendAlpha)

Parameters

x: (number) starting x coordinate
y: (number) starting y coordinate
hexColor: (hexadecimal) color in hexadecimal
alpha: (number) alpha value
tolerance: (number) tolerance value
blendAlpha: (number) blending alpha value