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
  • getter/setter pair
    rotation TRTCVideoRotation
  • Field description: clockwise image rotation angle
  • Note
  • 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