Preparing search index...
The search index is not available
libpag
libpag
core/render-canvas
RenderCanvas
Class RenderCanvas
Hierarchy
RenderCanvas
Index
Methods
from
retain
release
Constructors
constructor
Accessors
canvas
gl
Context
Properties
_canvas
_gl
Context
retain
Count
Methods
Static
from
from
(
canvas
:
HTMLCanvasElement
|
OffscreenCanvas
, contextAttributes
?:
WebGLContextAttributes
)
:
RenderCanvas
Parameters
canvas:
HTMLCanvasElement
|
OffscreenCanvas
Optional
contextAttributes:
WebGLContextAttributes
Returns
RenderCanvas
retain
retain
(
)
:
void
Returns
void
release
release
(
)
:
void
Returns
void
Constructors
constructor
new
Render
Canvas
(
canvas
:
HTMLCanvasElement
|
OffscreenCanvas
, contextAttributes
?:
WebGLContextAttributes
)
:
RenderCanvas
Parameters
canvas:
HTMLCanvasElement
|
OffscreenCanvas
Optional
contextAttributes:
WebGLContextAttributes
Returns
RenderCanvas
Accessors
canvas
get
canvas
(
)
:
null
|
HTMLCanvasElement
|
OffscreenCanvas
Returns
null
|
HTMLCanvasElement
|
OffscreenCanvas
gl
Context
get
glContext
(
)
:
null
|
BackendContext
Returns
null
|
BackendContext
Properties
Private
_canvas
_canvas
:
null
|
HTMLCanvasElement
|
OffscreenCanvas
= null
Private
_gl
Context
_gl
Context
:
null
|
BackendContext
= null
Private
retain
Count
retain
Count
:
number
= 0
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
libpag
binding
constant
core/backend-
context
core/bitmap-
image
core/global-
canvas
core/matrix
core/render-
canvas
core/scaler-
context
core/video-
reader
core/web-
mask
interfaces
pag-
composition
pag-
file
pag-
font
pag-
image-
layer
pag-
image
pag-
layer
pag-
module
pag-
player
pag-
solid-
layer
pag-
surface
pag-
text-
layer
pag-
view
pag
tgfx
types
utils/buffer
utils/canvas
utils/clock
utils/common
utils/decorators
utils/event-
manager
utils/font-
family
utils/measure-
text
utils/mixin
utils/queue
utils/type-
utils
utils/ua
utils/video-
listener
wechat/array-
buffer-
image
wechat/babel
wechat/binding
wechat/canvas
wechat/constant
wechat/file-
utils
wechat/interfaces
wechat/pag-
file
wechat/pag-
font
wechat/pag-
image
wechat/pag-
view
wechat/pag
wechat/scaler-
context
wechat/tgfx
wechat/video-
reader
wechat/web-
mask
worker/client
worker/events
worker/pag-
file
worker/pag-
image
worker/pag-
view
worker/utils
worker/video-
reader
worker/worker
Render
Canvas
from
constructor
retain
release
canvas
gl
Context
_canvas
_gl
Context
retain
Count
Generated using
TypeDoc