-
Notifications
You must be signed in to change notification settings - Fork 161
Closed
Labels
Description
The ImageData.data is defined and documented as follows:
scala-js-dom/dom/src/main/scala/org/scalajs/dom/ImageData.scala
Lines 23 to 26 in 7d0508c
/** Is a Uint8ClampedArray representing a one-dimensional array containing the data in the RGBA order, with integer | |
* values between 0 and 255 (included). | |
*/ | |
def data: js.Array[Int] = js.native |
I am confused: is the type Uint8ClampedArray
, or js.Array[Int]
? Or are those types interchangeable somehow? If they are, perhaps the documentation could clarify how.