Readonly
PNG_Readonly
PNG_Constant used in PNG encoding methods.
Readonly
PNG_Constant used in PNG encoding methods.
Readonly
PNG_Constant used in PNG encoding methods.
Readonly
PNG_Constant used in PNG encoding methods.
Readonly
PNG_Constant used in PNG encoding methods.
Readonly
PNG_Constant used in PNG encoding methods.
Readonly
strideNon standard. Getter. The stride used by the canvas.
Readonly
typeNon standard. The type of the canvas.
For image canvases, encodes the canvas as a PNG. For PDF canvases, encodes the canvas as a PDF. For SVG canvases, encodes the canvas as an SVG.
Optional
config: PngConfigOptional
config: JpegConfigFor image canvases, encodes the canvas as a PNG. For PDF canvases, encodes the canvas as a PDF. For SVG canvases, encodes the canvas as an SVG.
Optional
config: PngConfigOptional
config: JpegConfigOptional
config: PdfConfigReturns the unencoded pixel data, top-to-bottom. On little-endian (most) systems, the array will be ordered BGRA; on big-endian systems, it will be ARGB.
Defaults to PNG image.
Optional
quality: numberNon-standard. Defaults to PNG image.
Non-standard.
Non-standard.
Non-standard.
Non-standard.
Generated using TypeDoc
Constant used in PNG encoding methods.