Home Reference Source
import GlCursor from './ui/glpatch/glcursor.js'
public class | source

GlCursor

Extends:

cables-shared-client~Events → GlCursor

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public get

visible: *

public set
Private Members
private

_animX: *

private

_animY: *

private
private
private
private
private
private
private

_subPatch: number

private

_userId: *

Method Summary

Public Methods
public
public

setColor(r: *, g: *, b: *, a: *)

public

setPosition(x: *, y: *)

public

setSize(w: *, h: *)

public

setSubpatch(_subPatch: *)

public

Public Constructors

public constructor() source

Public Members

public isAnimated: * source

public get visible: * source

public set visible source

Private Members

private _animX: * source

private _animY: * source

private _avatarEle: * source

private _clientId: * source

private _cursorRect: * source

private _glPatch: * source

private _instancer: * source

private _lastMovement: * source

private _subPatch: number source

private _userId: * source

Public Methods

public dispose() source

public setColor(r: *, g: *, b: *, a: *) source

Params:

NameTypeAttributeDescription
r *
g *
b *
a *

public setPosition(x: *, y: *) source

Params:

NameTypeAttributeDescription
x *
y *

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

Params:

NameTypeAttributeDescription
w *
h *

public setSubpatch(_subPatch: *) source

Params:

NameTypeAttributeDescription
_subPatch *

public updateAnim() source