Class: TencentCloud::Bda::V20200324::BoundRect
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Bda::V20200324::BoundRect
- Defined in:
- lib/v20200324/models.rb
Overview
人体框
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(x = nil, y = nil, width = nil, height = nil) ⇒ BoundRect
constructor
A new instance of BoundRect.
Constructor Details
#initialize(x = nil, y = nil, width = nil, height = nil) ⇒ BoundRect
Returns a new instance of BoundRect.
273 274 275 276 277 278 |
# File 'lib/v20200324/models.rb', line 273 def initialize(x=nil, y=nil, width=nil, height=nil) @X = x @Y = y @Width = width @Height = height end |
Instance Attribute Details
#Height ⇒ Object
271 272 273 |
# File 'lib/v20200324/models.rb', line 271 def Height @Height end |
#Width ⇒ Object
271 272 273 |
# File 'lib/v20200324/models.rb', line 271 def Width @Width end |
#X ⇒ Object
271 272 273 |
# File 'lib/v20200324/models.rb', line 271 def X @X end |
#Y ⇒ Object
271 272 273 |
# File 'lib/v20200324/models.rb', line 271 def Y @Y end |
Instance Method Details
#deserialize(params) ⇒ Object
280 281 282 283 284 285 |
# File 'lib/v20200324/models.rb', line 280 def deserialize(params) @X = params['X'] @Y = params['Y'] @Width = params['Width'] @Height = params['Height'] end |