Skip to content

Latest commit

 

History

History
39 lines (22 loc) · 741 Bytes

File metadata and controls

39 lines (22 loc) · 741 Bytes

API categories | API index

PaintBuffer (object)

This object is related to: Browser.GetImage() and RenderHandler.OnPaint().

Table of contents:

Methods

GetIntPointer

Return long

Get int pointer to the void* buffer.

GetString

Parameter Type
mode="bgra" string
origin="top-left" string
Return object

Converts the void* buffer to string. In Py2 returns 'str' type, in Py3 returns 'bytes' type.

origin may be one of: "top-left", "bottom-left".

mode may be one of: "bgra", "rgba".