Class: TencentCloud::Ocr::V20181119::Coord
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ocr::V20181119::Coord
- Defined in:
- lib/v20181119/models.rb
Overview
坐标
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(x = nil, y = nil) ⇒ Coord
constructor
A new instance of Coord.
Constructor Details
#initialize(x = nil, y = nil) ⇒ Coord
Returns a new instance of Coord.
1440 1441 1442 1443 |
# File 'lib/v20181119/models.rb', line 1440 def initialize(x=nil, y=nil) @X = x @Y = y end |
Instance Attribute Details
#X ⇒ Object
1438 1439 1440 |
# File 'lib/v20181119/models.rb', line 1438 def X @X end |
#Y ⇒ Object
1438 1439 1440 |
# File 'lib/v20181119/models.rb', line 1438 def Y @Y end |
Instance Method Details
#deserialize(params) ⇒ Object
1445 1446 1447 1448 |
# File 'lib/v20181119/models.rb', line 1445 def deserialize(params) @X = params['X'] @Y = params['Y'] end |