ZegoCanvas class
视图对象
配置 View 对象、视图模式、视图背景颜色
Constructors
- ZegoCanvas(int view, {ZegoViewMode? viewMode, int? backgroundColor, bool? alphaBlend})
- ZegoCanvas.view(int view)
- 创建视图,viewMode 默认为 AspectFit,背景色默认为黑色
Properties
- alphaBlend ↔ bool?
-
是否允许 alpha 混合图层渲染,默认为 false。
getter/setter pair
- backgroundColor ↔ int?
-
背景颜色,格式为 0xRRGGBB,默认为黑色即 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,此参数为调用
createCanvasView
通过回调函数返回的 ViewIDgetter/setter pair - viewMode ↔ ZegoViewMode?
-
视图模式,默认为 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