Static
Make a PAGSurface from canvas.
Make a PAGSurface from texture.
Make a PAGSurface from frameBuffer.
The width of surface in pixels.
The height of surface in pixels.
Update the size of surface, and reset the internal surface.
Erases all pixels of this surface with transparent color. Returns true if the content has changed.
Free the cache created by the surface immediately. Can be called to reduce memory pressure.
Copies pixels from current PAGSurface to dstPixels with specified color type, alpha type and row bytes. Returns true if pixels are copied to dstPixels.
Generated using TypeDoc
Make a PAGSurface from canvas.