Skip to main content

ZJsSurfaceView

actualpackageZJsSurfaceView
6 items

All

6
constructorZJsSurfaceView
constructor(canvas: HTMLCanvasElement)
var _eventHandler: ZSurfaceViewEventHandler?
val canvas: HTMLCanvasElement
open override var eventHandler: ZSurfaceViewEventHandler?
Represents an event handler that listens to surface-related events. Such as lifecycle and rendering updates, through ZSurfaceViewEventHandler.
open override val surfaceHeight: Int
Represents the height of the rendering surface in logical pixels.
open override val surfaceWidth: Int
Represents the width of the rendering surface in logical pixels.