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.
getter/setter pair
backgroundColor ↔ int?
Background color, the format is 0xRRGGBB, default is black, which is 0x000000
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
view ↔ int
ViewID, this parameter is the ViewID returned by calling createCanvasView through the callback function
getter/setter pair
viewMode ZegoViewMode?
View mode, default is ZegoViewModeAspectFit
getter/setter pair

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