Class: TencentCloud::Ims::V20200713::Location
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ims::V20200713::Location
- Defined in:
- lib/v20200713/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.
408 409 410 411 412 413 414 |
# File 'lib/v20200713/models.rb', line 408 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
406 407 408 |
# File 'lib/v20200713/models.rb', line 406 def Height @Height end |
#Rotate ⇒ Object
406 407 408 |
# File 'lib/v20200713/models.rb', line 406 def Rotate @Rotate end |
#Width ⇒ Object
406 407 408 |
# File 'lib/v20200713/models.rb', line 406 def Width @Width end |
#X ⇒ Object
406 407 408 |
# File 'lib/v20200713/models.rb', line 406 def X @X end |
#Y ⇒ Object
406 407 408 |
# File 'lib/v20200713/models.rb', line 406 def Y @Y end |
Instance Method Details
#deserialize(params) ⇒ Object
416 417 418 419 420 421 422 |
# File 'lib/v20200713/models.rb', line 416 def deserialize(params) @X = params['X'] @Y = params['Y'] @Width = params['Width'] @Height = params['Height'] @Rotate = params['Rotate'] end |