Class: View

Mobizen.Device.Screen.View

new Mobizen.Device.Screen.View(screen)

Name Type Description
screen Mobizen.Device.Screen

parent object

Throws:
Will throw an error if the element is not found.

Requires

Members

$canvas jQueryObject

$device jQueryObject

$element jQueryObject

$wrapper jQueryObject

canvas HTMLElement

context object

element HTMLElement

ratio number

supportsCanvas boolean

Type Definitions

Methods

bufferToCanvas()

Name Type Description
device object

closeReconnectDiv()

Name Type Description
device object

receiveScreen(frame)

Name Type Description
frame object

rescale(device, internal)

Name Type Description
device object
internal boolean

resize(force){boolean|object}

Name Type Description
force boolean
Returns:
Type Description
boolean | object viewport

resizeBufferCanvas(device)

Name Type Description
device object

rotate(degree, encodeType)

Name Type Description
degree number
encodeType string

showReconnectDiv()

inner processImages(item, context, lines)

Name Type Description
item object
context Context2D| Context3D
lines array
comments powered by Disqus