Package-level declarations

Types

Link copied to clipboard
typealias AnyDevice = IDevice<*, *>

Provided as a short hand for IDevice<*, *>

Link copied to clipboard
typealias AnyRegion = Region<*, *>

Provided as a shorthand for Region<*, *>

Link copied to clipboard
class CachedDevice<T : IDevice<T, R>, R : Region<T, R>>(val device: IDevice<T, R>) : IDevice<CachedDevice<T, R>, CachedRegion<T, R>>

Cached device, this variant of device is just used to wrap the device of a CachedRegion, getting the list of screens will return an empty list.

Link copied to clipboard

Cached region, this variant of region will capture the region on creation and cache it, capture will always return this cached image. Sub-regions created from this region will also use this cached image for their operations

Link copied to clipboard
object CVAuto
Link copied to clipboard
interface IDevice<T : IDevice<T, R>, R : Region<T, R>>

Represents a Device with input and a set of screens

Link copied to clipboard
typealias Millis = Long
Link copied to clipboard
typealias Pixels = Int
Link copied to clipboard
abstract class Region<T : IDevice<T, R>, R : Region<T, R>>(x: Pixels, y: Pixels, width: Pixels, height: Pixels, val device: T, val screen: Int) : Rectangle, Comparable<Region<T, R>>

Represents a Region on a IDevice