Class: TencentCloud::Cms::V20190321::CodePosition
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cms::V20190321::CodePosition
- Defined in:
- lib/v20190321/models.rb
Overview
二维码在图片中的位置,由边界点的坐标表示
Instance Attribute Summary collapse
-
#FloatX ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#FloatY ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(floatx = nil, floaty = nil) ⇒ CodePosition
constructor
A new instance of CodePosition.
Constructor Details
#initialize(floatx = nil, floaty = nil) ⇒ CodePosition
Returns a new instance of CodePosition.
126 127 128 129 |
# File 'lib/v20190321/models.rb', line 126 def initialize(floatx=nil, floaty=nil) @FloatX = floatx @FloatY = floaty end |
Instance Attribute Details
#FloatX ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
124 125 126 |
# File 'lib/v20190321/models.rb', line 124 def FloatX @FloatX end |
#FloatY ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
124 125 126 |
# File 'lib/v20190321/models.rb', line 124 def FloatY @FloatY end |
Instance Method Details
#deserialize(params) ⇒ Object
131 132 133 134 |
# File 'lib/v20190321/models.rb', line 131 def deserialize(params) @FloatX = params['FloatX'] @FloatY = params['FloatY'] end |