Interface IImageData
Interface IImageData
Namespace: Aspose.Html.Dom.Canvas
Assembly: Aspose.HTML.dll (25.2.0)
Creates an ImageData object from a given Uint8ClampedArray and the size of the image it contains. If no array is given, it creates an image of a black rectangle.
[ComVisible(true)]
[DOMNoInterfaceObject]
public interface IImageData
Properties
Data
Is a Uint8ClampedArray representing a one-dimensional array containing the data in the RGBA order, with integer values between 0 and 255 (included).
[DOMName("data")]
Uint8ClampedArray Data { get; }
Property Value
Height
Is an unsigned long representing the actual height, in pixels, of the ImageData.
[DOMName("height")]
ulong Height { get; }
Property Value
Width
Is an unsigned long representing the actual width, in pixels, of the ImageData.
[DOMName("width")]
ulong Width { get; }