ZegoCanvas.view constructor

ZegoCanvas.view(
  1. int view
)

创建视图,viewMode 默认为 AspectFit,背景色默认为黑色

Implementation

ZegoCanvas.view(this.view)
    : this.viewMode = ZegoViewMode.AspectFit,
      this.backgroundColor = 0x000000,
      this.alphaBlend = false;