Package-level declarations
Types
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
class CachedRegion<T : IDevice<T, R>, R : Region<T, R>> : Region<CachedDevice<T, R>, CachedRegion<T, R>>
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