Options
All
  • Public
  • Public/Protected
  • All
Menu

View object.

Configure view object, view Mode, background color

Hierarchy

  • ZegoView

Index

Constructors

constructor

  • Parameters

    • reactTag: number
    • viewMode: ZegoViewMode
    • backgroundColor: number

    Returns ZegoView

Properties

Optional alphaBlend

alphaBlend: undefined | false | true

If enable alpha blend render, default is false.

backgroundColor

backgroundColor: number

Background color, the format is 0xRRGGBB, default is black, which is 0x000000

reactTag

reactTag: number

reactTag is a tag for native and js to identify each component, and each root view must have a unique reactTag.

viewMode

viewMode: ZegoViewMode

View mode, default is ZegoViewModeAspectFit

Generated using TypeDoc