ZegoEffectsChromaKeyParam class
Properties
-
borderSize
↔ int
-
update edge pixel sampling radius, higher value means more gentle transition
but also need reources/time to handle
usually, there will be some green color remain on the pixels which at the junction of background and foreground
the sdk will take the average of nearby pixels as new pixel values to remove this remains
value range:
0,100
, default 1
getter/setter pair
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
keyColor
↔ int
-
update the color, format: BGR, value range:
0, 0xFFFFFF
, default: 0x00ff00
getter/setter pair
-
opacity
↔ int
-
update opacity
value range:
0,100
,default 100, which means opaque
getter/setter pair
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
similarity
↔ double
-
update color similarity, higher value means larger scope was replaced
value range:
0,100
, default 67
getter/setter pair
-
smoothness
↔ double
-
update edge smoothness value, higher value means more smooth egde, but also
need more resources/time to render
value range:
0, 100
, default 67
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