ZegoCanvas.view constructor

ZegoCanvas.view(
  1. int view
)

Create a ZegoCanvas, default viewMode is AspectFit, default background color is black

Implementation

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