Class: TencentCloud::Ims::V20201229::Location
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ims::V20201229::Location
- Defined in:
- lib/v20201229/models.rb
Overview
坐标
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(x = nil, y = nil, width = nil, height = nil, rotate = nil) ⇒ Location
constructor
A new instance of Location.
Constructor Details
#initialize(x = nil, y = nil, width = nil, height = nil, rotate = nil) ⇒ Location
Returns a new instance of Location.
467 468 469 470 471 472 473 |
# File 'lib/v20201229/models.rb', line 467 def initialize(x=nil, y=nil, width=nil, height=nil, rotate=nil) @X = x @Y = y @Width = width @Height = height @Rotate = rotate end |
Instance Attribute Details
#Height ⇒ Object
465 466 467 |
# File 'lib/v20201229/models.rb', line 465 def Height @Height end |
#Rotate ⇒ Object
465 466 467 |
# File 'lib/v20201229/models.rb', line 465 def Rotate @Rotate end |
#Width ⇒ Object
465 466 467 |
# File 'lib/v20201229/models.rb', line 465 def Width @Width end |
#X ⇒ Object
465 466 467 |
# File 'lib/v20201229/models.rb', line 465 def X @X end |
#Y ⇒ Object
465 466 467 |
# File 'lib/v20201229/models.rb', line 465 def Y @Y end |
Instance Method Details
#deserialize(params) ⇒ Object
475 476 477 478 479 480 481 |
# File 'lib/v20201229/models.rb', line 475 def deserialize(params) @X = params['X'] @Y = params['Y'] @Width = params['Width'] @Height = params['Height'] @Rotate = params['Rotate'] end |