ZegoCanvas class

View object.

Configure view object, view Mode, background color

Constructors

ZegoCanvas(int view, {ZegoViewMode? viewMode, int? backgroundColor, bool? alphaBlend})
ZegoCanvas.view(int view)
Create a ZegoCanvas, default viewMode is AspectFit, default background color is black

Properties

alphaBlend ↔ bool?
If enable alpha blend render, default is false.
read / write
backgroundColor ↔ int?
Background color, the format is 0xRRGGBB, default is black, which is 0x000000
read / write
hashCode → int
The hash code for this object.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
view ↔ int
ViewID, this parameter is the ViewID returned by calling createCanvasView through the callback function
read / write
viewMode ZegoViewMode?
View mode, default is ZegoViewModeAspectFit
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited