Class: Corridor

Corridor


new Corridor(sdk, options)

Parameters:
Name Type Description
sdk
options object 线属性
Properties
Name Type Default Description
name string 名称
image string | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement 指定 Image、URL、Canvas 或 Video 的属性
width number 10 宽度
height number 0 高度

Class: Corridor

Corridor


new Corridor(sdk, options)

Parameters:
Name Type Description
sdk
options object 线属性
Properties
Name Type Default Description
name string 名称
image string | HTMLImageElement | HTMLCanvasElement | HTMLVideoElement 指定 Image、URL、Canvas 或 Video 的属性
width number 10 宽度
height number 0 高度