class Abbyy::Models::Region
- Abbyy::Models::Region
- Abbyy::Models::BaseModel
- Reference
- Object
Overview
Region.
Defined in:
abbyy/models/region.crConstructors
- .new(left : Int32 = -1, top : Int32 = -1, right : Int32 = -1, bottom : Int32 = -1)
-
.new(coordinates : Array(Int32))
Constructs a
Region
object from the given (indexed) array.
Instance Method Summary
-
#bottom : Int32
Bottom coordinate in pixels.
-
#bottom=(bottom : Int32)
Bottom coordinate in pixels.
-
#left : Int32
Left coordinate in pixels.
-
#left=(left : Int32)
Left coordinate in pixels.
-
#right : Int32
Right coordinate in pixels.
-
#right=(right : Int32)
Right coordinate in pixels.
-
#to_a : Array(Int32)
Return the coordinates in an array.
-
#to_s : String
Return the string representation of the region.
-
#top : Int32
Top coordinate in pixels.
-
#top=(top : Int32)
Top coordinate in pixels.
Constructor Detail
def self.new(coordinates : Array(Int32))
#
Constructs a Region
object from the given (indexed) array.