TRTCRenderParams class
Rendering parameters of video image
Constructors
- TRTCRenderParams({TRTCVideoRotation rotation = TRTCVideoRotation.rotation0, TRTCVideoFillMode fillMode = TRTCVideoFillMode.fill, TRTCVideoMirrorType mirrorType = TRTCVideoMirrorType.auto})
Properties
- fillMode ↔ TRTCVideoFillMode
-
- Field description: image rendering mode
- Note
- Fill (the image may be stretched or cropped) or fit (there may be black color in unmatched areas).
- Default value: TRTCVideoFillMode.fill
getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- mirrorType ↔ TRTCVideoMirrorType
-
- Field description: mirror mode
- Note
- TRTCVideoMirrorType.auto : mirror the front camera's image but not the rear camera's image (default value).
- TRTCVideoMirrorType.enable : mirror the images of both the front and rear cameras.
- TRTCVideoMirrorType.disable : do not mirror the images of both the front and rear cameras.
getter/setter pair - rotation ↔ TRTCVideoRotation
-
- Field description: clockwise image rotation angle
- Note
- TRTCVideoRotation.rotation0 : no rotation (default value)
- TRTCVideoRotation.rotation90 : clockwise rotation by 90 degrees
- TRTCVideoRotation.rotation180 : clockwise rotation by 180 degrees
- TRTCVideoRotation.rotation270 : clockwise rotation by 270 degrees
getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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