Class: TencentCloud::Cms::V20190321::Coordinate

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190321/models.rb

Overview

坐标

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(width = nil, cy = nil, cx = nil, height = nil) ⇒ Coordinate

Returns a new instance of Coordinate.



154
155
156
157
158
159
# File 'lib/v20190321/models.rb', line 154

def initialize(width=nil, cy=nil, cx=nil, height=nil)
  @Width = width
  @Cy = cy
  @Cx = cx
  @Height = height
end

Instance Attribute Details

#CxObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Width:

    宽度

  • Cy:

    左上角纵坐标

  • Cx:

    左上角横坐标

  • Height:

    高度



152
153
154
# File 'lib/v20190321/models.rb', line 152

def Cx
  @Cx
end

#CyObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Width:

    宽度

  • Cy:

    左上角纵坐标

  • Cx:

    左上角横坐标

  • Height:

    高度



152
153
154
# File 'lib/v20190321/models.rb', line 152

def Cy
  @Cy
end

#HeightObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Width:

    宽度

  • Cy:

    左上角纵坐标

  • Cx:

    左上角横坐标

  • Height:

    高度



152
153
154
# File 'lib/v20190321/models.rb', line 152

def Height
  @Height
end

#WidthObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Width:

    宽度

  • Cy:

    左上角纵坐标

  • Cx:

    左上角横坐标

  • Height:

    高度



152
153
154
# File 'lib/v20190321/models.rb', line 152

def Width
  @Width
end

Instance Method Details

#deserialize(params) ⇒ Object



161
162
163
164
165
166
# File 'lib/v20190321/models.rb', line 161

def deserialize(params)
  @Width = params['Width']
  @Cy = params['Cy']
  @Cx = params['Cx']
  @Height = params['Height']
end