class TencentCloud::Trtc::V20190722::WaterMarkParams

MCU混流水印参数

Attributes

LocationX[RW]

@param WaterMarkId: 混流-水印图片ID。取值为实时音视频控制台上传的图片ID。 @type WaterMarkId: Integer @param WaterMarkWidth: 混流-水印宽。单位为像素值。 @type WaterMarkWidth: Integer @param WaterMarkHeight: 混流-水印高。单位为像素值。 @type WaterMarkHeight: Integer @param LocationX: 水印在输出时的X偏移。单位为像素值。 @type LocationX: Integer @param LocationY: 水印在输出时的Y偏移。单位为像素值。 @type LocationY: Integer

LocationY[RW]

@param WaterMarkId: 混流-水印图片ID。取值为实时音视频控制台上传的图片ID。 @type WaterMarkId: Integer @param WaterMarkWidth: 混流-水印宽。单位为像素值。 @type WaterMarkWidth: Integer @param WaterMarkHeight: 混流-水印高。单位为像素值。 @type WaterMarkHeight: Integer @param LocationX: 水印在输出时的X偏移。单位为像素值。 @type LocationX: Integer @param LocationY: 水印在输出时的Y偏移。单位为像素值。 @type LocationY: Integer

WaterMarkHeight[RW]

@param WaterMarkId: 混流-水印图片ID。取值为实时音视频控制台上传的图片ID。 @type WaterMarkId: Integer @param WaterMarkWidth: 混流-水印宽。单位为像素值。 @type WaterMarkWidth: Integer @param WaterMarkHeight: 混流-水印高。单位为像素值。 @type WaterMarkHeight: Integer @param LocationX: 水印在输出时的X偏移。单位为像素值。 @type LocationX: Integer @param LocationY: 水印在输出时的Y偏移。单位为像素值。 @type LocationY: Integer

WaterMarkId[RW]

@param WaterMarkId: 混流-水印图片ID。取值为实时音视频控制台上传的图片ID。 @type WaterMarkId: Integer @param WaterMarkWidth: 混流-水印宽。单位为像素值。 @type WaterMarkWidth: Integer @param WaterMarkHeight: 混流-水印高。单位为像素值。 @type WaterMarkHeight: Integer @param LocationX: 水印在输出时的X偏移。单位为像素值。 @type LocationX: Integer @param LocationY: 水印在输出时的Y偏移。单位为像素值。 @type LocationY: Integer

WaterMarkWidth[RW]

@param WaterMarkId: 混流-水印图片ID。取值为实时音视频控制台上传的图片ID。 @type WaterMarkId: Integer @param WaterMarkWidth: 混流-水印宽。单位为像素值。 @type WaterMarkWidth: Integer @param WaterMarkHeight: 混流-水印高。单位为像素值。 @type WaterMarkHeight: Integer @param LocationX: 水印在输出时的X偏移。单位为像素值。 @type LocationX: Integer @param LocationY: 水印在输出时的Y偏移。单位为像素值。 @type LocationY: Integer

Public Class Methods

new(watermarkid=nil, watermarkwidth=nil, watermarkheight=nil, locationx=nil, locationy=nil) click to toggle source
# File lib/v20190722/models.rb, line 2215
def initialize(watermarkid=nil, watermarkwidth=nil, watermarkheight=nil, locationx=nil, locationy=nil)
  @WaterMarkId = watermarkid
  @WaterMarkWidth = watermarkwidth
  @WaterMarkHeight = watermarkheight
  @LocationX = locationx
  @LocationY = locationy
end

Public Instance Methods

deserialize(params) click to toggle source
# File lib/v20190722/models.rb, line 2223
def deserialize(params)
  @WaterMarkId = params['WaterMarkId']
  @WaterMarkWidth = params['WaterMarkWidth']
  @WaterMarkHeight = params['WaterMarkHeight']
  @LocationX = params['LocationX']
  @LocationY = params['LocationY']
end