Class: TencentCloud::Live::V20180801::CommonMixCropParams

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180801/models.rb

Overview

通用混流输入裁剪参数。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cropwidth = nil, cropheight = nil, cropstartlocationx = nil, cropstartlocationy = nil) ⇒ CommonMixCropParams

Returns a new instance of CommonMixCropParams.



1834
1835
1836
1837
1838
1839
# File 'lib/v20180801/models.rb', line 1834

def initialize(cropwidth=nil, cropheight=nil, cropstartlocationx=nil, cropstartlocationy=nil)
  @CropWidth = cropwidth
  @CropHeight = cropheight
  @CropStartLocationX = cropstartlocationx
  @CropStartLocationY = cropstartlocationy
end

Instance Attribute Details

#CropHeightObject

Parameters:



1832
1833
1834
# File 'lib/v20180801/models.rb', line 1832

def CropHeight
  @CropHeight
end

#CropStartLocationXObject

Parameters:



1832
1833
1834
# File 'lib/v20180801/models.rb', line 1832

def CropStartLocationX
  @CropStartLocationX
end

#CropStartLocationYObject

Parameters:



1832
1833
1834
# File 'lib/v20180801/models.rb', line 1832

def CropStartLocationY
  @CropStartLocationY
end

#CropWidthObject

Parameters:



1832
1833
1834
# File 'lib/v20180801/models.rb', line 1832

def CropWidth
  @CropWidth
end

Instance Method Details

#deserialize(params) ⇒ Object



1841
1842
1843
1844
1845
1846
# File 'lib/v20180801/models.rb', line 1841

def deserialize(params)
  @CropWidth = params['CropWidth']
  @CropHeight = params['CropHeight']
  @CropStartLocationX = params['CropStartLocationX']
  @CropStartLocationY = params['CropStartLocationY']
end