ZJsSurfaceView
6 items
- All (6)
- Constructors (1)
- Properties (5)
All
6constructorZJsSurfaceView
constructor(canvas: HTMLCanvasElement)
var _eventHandler: ZSurfaceViewEventHandler?
valcanvas
val canvas: HTMLCanvasElement
vareventHandler
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.
valsurfaceWidth
open override val surfaceWidth: Int
Represents the width of the rendering surface in logical pixels.
Constructors
1constructorZJsSurfaceView
constructor(canvas: HTMLCanvasElement)
Properties
5var _eventHandler: ZSurfaceViewEventHandler?
valcanvas
val canvas: HTMLCanvasElement
vareventHandler
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.
valsurfaceWidth
open override val surfaceWidth: Int
Represents the width of the rendering surface in logical pixels.