Skip to content
mohayonao edited this page Aug 11, 2014 · 1 revision

toRGBA

Converts a Uint8Array that contains RGBA data

Syntax

canvas.toRGBA(alpha);

Parameters

  • alpha: int [=255]

Returns

Uint8Array

Related

-toMask() -toRGB() -toIndexedColor()

Clone this wiki locally