Class: TencentCloud::Live::V20180801::CasterLayoutParam

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

Overview

导播台布局详细参数。

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(layerid = nil, layerwidth = nil, layerheight = nil, layerlocationx = nil, layerlocationy = nil, useportraitsegment = nil) ⇒ CasterLayoutParam

Returns a new instance of CasterLayoutParam.



1288
1289
1290
1291
1292
1293
1294
1295
# File 'lib/v20180801/models.rb', line 1288

def initialize(layerid=nil, layerwidth=nil, layerheight=nil, layerlocationx=nil, layerlocationy=nil, useportraitsegment=nil)
  @LayerId = layerid
  @LayerWidth = layerwidth
  @LayerHeight = layerheight
  @LayerLocationX = layerlocationx
  @LayerLocationY = layerlocationy
  @UsePortraitSegment = useportraitsegment
end

Instance Attribute Details

#LayerHeightObject

在画面最终渲染时,将按ID从小到大的顺序,由下至上渲染。

Parameters:



1286
1287
1288
# File 'lib/v20180801/models.rb', line 1286

def LayerHeight
  @LayerHeight
end

#LayerIdObject

在画面最终渲染时,将按ID从小到大的顺序,由下至上渲染。

Parameters:



1286
1287
1288
# File 'lib/v20180801/models.rb', line 1286

def LayerId
  @LayerId
end

#LayerLocationXObject

在画面最终渲染时,将按ID从小到大的顺序,由下至上渲染。

Parameters:



1286
1287
1288
# File 'lib/v20180801/models.rb', line 1286

def LayerLocationX
  @LayerLocationX
end

#LayerLocationYObject

在画面最终渲染时,将按ID从小到大的顺序,由下至上渲染。

Parameters:



1286
1287
1288
# File 'lib/v20180801/models.rb', line 1286

def LayerLocationY
  @LayerLocationY
end

#LayerWidthObject

在画面最终渲染时,将按ID从小到大的顺序,由下至上渲染。

Parameters:



1286
1287
1288
# File 'lib/v20180801/models.rb', line 1286

def LayerWidth
  @LayerWidth
end

#UsePortraitSegmentObject

在画面最终渲染时,将按ID从小到大的顺序,由下至上渲染。

Parameters:



1286
1287
1288
# File 'lib/v20180801/models.rb', line 1286

def UsePortraitSegment
  @UsePortraitSegment
end

Instance Method Details

#deserialize(params) ⇒ Object



1297
1298
1299
1300
1301
1302
1303
1304
# File 'lib/v20180801/models.rb', line 1297

def deserialize(params)
  @LayerId = params['LayerId']
  @LayerWidth = params['LayerWidth']
  @LayerHeight = params['LayerHeight']
  @LayerLocationX = params['LayerLocationX']
  @LayerLocationY = params['LayerLocationY']
  @UsePortraitSegment = params['UsePortraitSegment']
end