setAlpha

.setAlpha( alpha )

Sets the alpha used when drawing onto this Image. This is a value from 0.0 to 1.0.

.setAlpha( alpha ) { ... }

'setAlpha' can also take a block, allowing you to only alter the alpha value for that duration.

This Image object is returned, allowing you to chain this function with other drawing calls.

See also

setBlend - setColor - multAlpha - getAlpha