class Abbyy::Models::Region

Overview

Region.

Defined in:

abbyy/models/region.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(left : Int32 = -1, top : Int32 = -1, right : Int32 = -1, bottom : Int32 = -1) #

[View source]
def self.new(coordinates : Array(Int32)) #

Constructs a Region object from the given (indexed) array.


[View source]

Instance Method Detail

def bottom : Int32 #

Bottom coordinate in pixels.


[View source]
def bottom=(bottom : Int32) #

Bottom coordinate in pixels.


[View source]
def left : Int32 #

Left coordinate in pixels.


[View source]
def left=(left : Int32) #

Left coordinate in pixels.


[View source]
def right : Int32 #

Right coordinate in pixels.


[View source]
def right=(right : Int32) #

Right coordinate in pixels.


[View source]
def to_a : Array(Int32) #

Return the coordinates in an array.


[View source]
def to_s : String #

Return the string representation of the region.


[View source]
def top : Int32 #

Top coordinate in pixels.


[View source]
def top=(top : Int32) #

Top coordinate in pixels.


[View source]