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
- logo:图标;
- text:文字;
默认值:logo。 注意:此字段可能返回 null,表示取不到有效值。 示例值:[101, 85, 111, 95] 注意:此字段可能返回 null,表示取不到有效值。 - [0.1, 0.1, 0.3, 0.3] : 表示比例 (数值小于1) - [50, 50, 350, 280] : 表示像素 (数值大于等于1) 注意:此字段可能返回 null,表示取不到有效值。. -
#BoundingBox ⇒ Object
- logo:图标;
- text:文字;
默认值:logo。 注意:此字段可能返回 null,表示取不到有效值。 示例值:[101, 85, 111, 95] 注意:此字段可能返回 null,表示取不到有效值。 - [0.1, 0.1, 0.3, 0.3] : 表示比例 (数值小于1) - [50, 50, 350, 280] : 表示像素 (数值大于等于1) 注意:此字段可能返回 null,表示取不到有效值。. -
#BoundingBoxUnitType ⇒ Object
- logo:图标;
- text:文字;
默认值:logo。 注意:此字段可能返回 null,表示取不到有效值。 示例值:[101, 85, 111, 95] 注意:此字段可能返回 null,表示取不到有效值。 - [0.1, 0.1, 0.3, 0.3] : 表示比例 (数值小于1) - [50, 50, 350, 280] : 表示像素 (数值大于等于1) 注意:此字段可能返回 null,表示取不到有效值。. -
#Type ⇒ Object
- logo:图标;
- text:文字;
默认值: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, boundingboxunittype = nil) ⇒ ImageAreaBoxInfo
constructor
A new instance of ImageAreaBoxInfo.
Constructor Details
#initialize(type = nil, areacoordset = nil, boundingbox = nil, boundingboxunittype = nil) ⇒ ImageAreaBoxInfo
Returns a new instance of ImageAreaBoxInfo.
17646 17647 17648 17649 17650 17651 |
# File 'lib/v20190612/models.rb', line 17646 def initialize(type=nil, areacoordset=nil, boundingbox=nil, boundingboxunittype=nil) @Type = type @AreaCoordSet = areacoordset @BoundingBox = boundingbox @BoundingBoxUnitType = boundingboxunittype end |
Instance Attribute Details
#AreaCoordSet ⇒ Object
17644 17645 17646 |
# File 'lib/v20190612/models.rb', line 17644 def AreaCoordSet @AreaCoordSet end |
#BoundingBox ⇒ Object
17644 17645 17646 |
# File 'lib/v20190612/models.rb', line 17644 def BoundingBox @BoundingBox end |
#BoundingBoxUnitType ⇒ Object
17644 17645 17646 |
# File 'lib/v20190612/models.rb', line 17644 def BoundingBoxUnitType @BoundingBoxUnitType end |
#Type ⇒ Object
17644 17645 17646 |
# File 'lib/v20190612/models.rb', line 17644 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
17653 17654 17655 17656 17657 17658 |
# File 'lib/v20190612/models.rb', line 17653 def deserialize(params) @Type = params['Type'] @AreaCoordSet = params['AreaCoordSet'] @BoundingBox = params['BoundingBox'] @BoundingBoxUnitType = params['BoundingBoxUnitType'] end |