Class: TencentCloud::Live::V20180801::CasterLayoutParam
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Live::V20180801::CasterLayoutParam
- Defined in:
- lib/v20180801/models.rb
Overview
导播台布局详细参数。
Instance Attribute Summary collapse
-
#LayerHeight ⇒ Object
在画面最终渲染时,将按ID从小到大的顺序,由下至上渲染。.
-
#LayerId ⇒ Object
在画面最终渲染时,将按ID从小到大的顺序,由下至上渲染。.
-
#LayerLocationX ⇒ Object
在画面最终渲染时,将按ID从小到大的顺序,由下至上渲染。.
-
#LayerLocationY ⇒ Object
在画面最终渲染时,将按ID从小到大的顺序,由下至上渲染。.
-
#LayerWidth ⇒ Object
在画面最终渲染时,将按ID从小到大的顺序,由下至上渲染。.
-
#UsePortraitSegment ⇒ Object
在画面最终渲染时,将按ID从小到大的顺序,由下至上渲染。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(layerid = nil, layerwidth = nil, layerheight = nil, layerlocationx = nil, layerlocationy = nil, useportraitsegment = nil) ⇒ CasterLayoutParam
constructor
A new instance of CasterLayoutParam.
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
#LayerHeight ⇒ Object
在画面最终渲染时,将按ID从小到大的顺序,由下至上渲染。
1286 1287 1288 |
# File 'lib/v20180801/models.rb', line 1286 def LayerHeight @LayerHeight end |
#LayerId ⇒ Object
在画面最终渲染时,将按ID从小到大的顺序,由下至上渲染。
1286 1287 1288 |
# File 'lib/v20180801/models.rb', line 1286 def LayerId @LayerId end |
#LayerLocationX ⇒ Object
在画面最终渲染时,将按ID从小到大的顺序,由下至上渲染。
1286 1287 1288 |
# File 'lib/v20180801/models.rb', line 1286 def LayerLocationX @LayerLocationX end |
#LayerLocationY ⇒ Object
在画面最终渲染时,将按ID从小到大的顺序,由下至上渲染。
1286 1287 1288 |
# File 'lib/v20180801/models.rb', line 1286 def LayerLocationY @LayerLocationY end |
#LayerWidth ⇒ Object
在画面最终渲染时,将按ID从小到大的顺序,由下至上渲染。
1286 1287 1288 |
# File 'lib/v20180801/models.rb', line 1286 def LayerWidth @LayerWidth end |
#UsePortraitSegment ⇒ Object
在画面最终渲染时,将按ID从小到大的顺序,由下至上渲染。
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 |