Class: TencentCloud::Mps::V20190612::ImageAreaBoxInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::ImageAreaBoxInfo
- Defined in:
- lib/v20190612/models.rb
Overview
图片框选区域信息
Instance Attribute Summary collapse
-
#AreaCoordSet ⇒ Object
<li>logo:图标;</li> <li>text:文字;</li> 默认值:logo。 注意:此字段可能返回 null,表示取不到有效值。 示例值:[101, 85, 111, 95] 注意:此字段可能返回 null,表示取不到有效值。 - [0.1, 0.1, 0.3, 0.3] : 表示比例 (数值小于1) - [50, 50, 350, 280] : 表示像素 (数值大于等于1) 注意:此字段可能返回 null,表示取不到有效值。.
-
#BoundingBox ⇒ Object
<li>logo:图标;</li> <li>text:文字;</li> 默认值:logo。 注意:此字段可能返回 null,表示取不到有效值。 示例值:[101, 85, 111, 95] 注意:此字段可能返回 null,表示取不到有效值。 - [0.1, 0.1, 0.3, 0.3] : 表示比例 (数值小于1) - [50, 50, 350, 280] : 表示像素 (数值大于等于1) 注意:此字段可能返回 null,表示取不到有效值。.
-
#Type ⇒ Object
<li>logo:图标;</li> <li>text:文字;</li> 默认值:logo。 注意:此字段可能返回 null,表示取不到有效值。 示例值:[101, 85, 111, 95] 注意:此字段可能返回 null,表示取不到有效值。 - [0.1, 0.1, 0.3, 0.3] : 表示比例 (数值小于1) - [50, 50, 350, 280] : 表示像素 (数值大于等于1) 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, areacoordset = nil, boundingbox = nil) ⇒ ImageAreaBoxInfo
constructor
A new instance of ImageAreaBoxInfo.
Constructor Details
#initialize(type = nil, areacoordset = nil, boundingbox = nil) ⇒ ImageAreaBoxInfo
Returns a new instance of ImageAreaBoxInfo.
15363 15364 15365 15366 15367 |
# File 'lib/v20190612/models.rb', line 15363 def initialize(type=nil, areacoordset=nil, boundingbox=nil) @Type = type @AreaCoordSet = areacoordset @BoundingBox = boundingbox end |
Instance Attribute Details
#AreaCoordSet ⇒ Object
<li>logo:图标;</li> <li>text:文字;</li> 默认值:logo。注意:此字段可能返回 null,表示取不到有效值。示例值:[101, 85, 111, 95] 注意:此字段可能返回 null,表示取不到有效值。
- 0.1, 0.1, 0.3, 0.3
-
: 表示比例 (数值小于1)
- 50, 50, 350, 280
-
: 表示像素 (数值大于等于1)
注意:此字段可能返回 null,表示取不到有效值。
15361 15362 15363 |
# File 'lib/v20190612/models.rb', line 15361 def AreaCoordSet @AreaCoordSet end |
#BoundingBox ⇒ Object
<li>logo:图标;</li> <li>text:文字;</li> 默认值:logo。注意:此字段可能返回 null,表示取不到有效值。示例值:[101, 85, 111, 95] 注意:此字段可能返回 null,表示取不到有效值。
- 0.1, 0.1, 0.3, 0.3
-
: 表示比例 (数值小于1)
- 50, 50, 350, 280
-
: 表示像素 (数值大于等于1)
注意:此字段可能返回 null,表示取不到有效值。
15361 15362 15363 |
# File 'lib/v20190612/models.rb', line 15361 def BoundingBox @BoundingBox end |
#Type ⇒ Object
<li>logo:图标;</li> <li>text:文字;</li> 默认值:logo。注意:此字段可能返回 null,表示取不到有效值。示例值:[101, 85, 111, 95] 注意:此字段可能返回 null,表示取不到有效值。
- 0.1, 0.1, 0.3, 0.3
-
: 表示比例 (数值小于1)
- 50, 50, 350, 280
-
: 表示像素 (数值大于等于1)
注意:此字段可能返回 null,表示取不到有效值。
15361 15362 15363 |
# File 'lib/v20190612/models.rb', line 15361 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
15369 15370 15371 15372 15373 |
# File 'lib/v20190612/models.rb', line 15369 def deserialize(params) @Type = params['Type'] @AreaCoordSet = params['AreaCoordSet'] @BoundingBox = params['BoundingBox'] end |