Class: TencentCloud::Hcm::V20181106::ItemCoord
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Hcm::V20181106::ItemCoord
- Defined in:
- lib/v20181106/models.rb
Overview
目标算式在图片上的坐标信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(height = nil, width = nil, x = nil, y = nil) ⇒ ItemCoord
constructor
A new instance of ItemCoord.
Constructor Details
#initialize(height = nil, width = nil, x = nil, y = nil) ⇒ ItemCoord
Returns a new instance of ItemCoord.
190 191 192 193 194 195 |
# File 'lib/v20181106/models.rb', line 190 def initialize(height=nil, width=nil, x=nil, y=nil) @Height = height @Width = width @X = x @Y = y end |
Instance Attribute Details
#Height ⇒ Object
188 189 190 |
# File 'lib/v20181106/models.rb', line 188 def Height @Height end |
#Width ⇒ Object
188 189 190 |
# File 'lib/v20181106/models.rb', line 188 def Width @Width end |
#X ⇒ Object
188 189 190 |
# File 'lib/v20181106/models.rb', line 188 def X @X end |
#Y ⇒ Object
188 189 190 |
# File 'lib/v20181106/models.rb', line 188 def Y @Y end |
Instance Method Details
#deserialize(params) ⇒ Object
197 198 199 200 201 202 |
# File 'lib/v20181106/models.rb', line 197 def deserialize(params) @Height = params['Height'] @Width = params['Width'] @X = params['X'] @Y = params['Y'] end |