FrameRect

class FrameRect(val left: Int, val top: Int, val right: Int, val bottom: Int)

Represents a rectangle frame, used for scanning codes.

Parameters

left

The left coordinate in DP.

top

The top coordinate in DP.

right

The right coordinate in DP.

bottom

The bottom coordinate in DP.

Constructors

Link copied to clipboard
constructor(left: Int, top: Int, right: Int, bottom: Int)

Properties

Link copied to clipboard
val bottom: Int
Link copied to clipboard
val height: Int
Link copied to clipboard
val left: Int
Link copied to clipboard
val right: Int
Link copied to clipboard
val top: Int
Link copied to clipboard
val width: Int

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String