Color.blendLinearBurn()

<static> blendLinearBurn(a, b) → {integer}

An alias for blendSubtract, it simply sums the values of the two colors and subtracts 255.

Parameters
Name Type Description
a integer

The source color to blend, in the range 1 to 255.

b integer

The backdrop color to blend, in the range 1 to 255.

Returns
integer -

The blended color value, in the range 1 to 255.

Source code: utils/Color.js (Line 1244)
doc_phaser
2017-02-14 10:41:45
Comments
Leave a Comment

Please login to continue.