Home Reference Source
import GlUiCanvas from './ui/glpatch/gluicanvas.js'
public class | source

GlUiCanvas

canvas for the patchfield GlPatch

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

canvas: *

public

clear: boolean

public get

element: *

public

glPatch: *

public

height: number

public

loaded: boolean

public

patch: *

public
public

width: number

Private Members
private
private

_firstTime: boolean

private

_inited: boolean

private

_lastTime: number

private

_mouseX: number

private

_mouseY: number

private

_moveover: boolean

private
private
private

_targetFps: number

Method Summary

Public Methods
public
public
public
public
public
public

render()

public

setSize(w: *, h: *)

Public Constructors

public constructor() source

Public Members

public canvas: * source

public clear: boolean source

public get element: * source

public glPatch: * source

public height: number source

public loaded: boolean source

public patch: * source

public patchApi: * source

public width: number source

Private Members

private _activityTimeout: * source

private _firstTime: boolean source

private _inited: boolean source

private _lastTime: number source

private _mouseX: number source

private _mouseY: number source

private _moveover: boolean source

private _oldTargetFps: * source

private _parentEle: * source

private _targetFps: number source

Public Methods

public activityHigh() source

public activityIdle() source

public activityMedium() source

public dispose() source

public parentResized() source

public render() source

public setSize(w: *, h: *) source

Params:

NameTypeAttributeDescription
w *
h *