Class: Xberg::LayoutRegion
- Inherits:
-
Object
- Object
- Xberg::LayoutRegion
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#area_fraction ⇒ Float
readonly
Returns the value of attribute area_fraction.
-
#bounding_box ⇒ BoundingBox
readonly
Returns the value of attribute bounding_box.
-
#class_name ⇒ String
readonly
Returns the value of attribute class_name.
-
#confidence ⇒ Float
readonly
Returns the value of attribute confidence.
Instance Method Summary collapse
-
#initialize ⇒ LayoutRegion
constructor
A new instance of LayoutRegion.
Constructor Details
#initialize ⇒ LayoutRegion
Returns a new instance of LayoutRegion.
1463 |
# File 'sig/types.rbs', line 1463
def initialize: (?class_name: String, ?confidence: Float, ?bounding_box: BoundingBox, ?area_fraction: Float) -> void
|
Instance Attribute Details
#area_fraction ⇒ Float (readonly)
Returns the value of attribute area_fraction.
1461 1462 1463 |
# File 'sig/types.rbs', line 1461 def area_fraction @area_fraction end |
#bounding_box ⇒ BoundingBox (readonly)
Returns the value of attribute bounding_box.
1460 1461 1462 |
# File 'sig/types.rbs', line 1460 def bounding_box @bounding_box end |
#class_name ⇒ String (readonly)
Returns the value of attribute class_name.
1458 1459 1460 |
# File 'sig/types.rbs', line 1458 def class_name @class_name end |
#confidence ⇒ Float (readonly)
Returns the value of attribute confidence.
1459 1460 1461 |
# File 'sig/types.rbs', line 1459 def confidence @confidence end |