cameraViewEx / com.priyankvasa.android.cameraviewex / Size

Size

data class Size : Comparable<Size>

Immutable class for describing width and height dimensions in pixels.

Constructors

<init>

Size(width: Int, height: Int)

Immutable class for describing width and height dimensions in pixels.

Properties

aspectRatio

val aspectRatio: AspectRatio

height

val height: Int

width

val width: Int

Functions

compareTo

fun compareTo(other: Size): Int

equals

fun equals(other: Any?): Boolean

hashCode

fun hashCode(): Int

toString

fun toString(): String

Companion Object Properties

CIF

val CIF: Size

Invalid

val Invalid: Size

P1080

val P1080: Size

P1440

val P1440: Size

P2160

val P2160: Size

P480

val P480: Size

P720

val P720: Size

QCIF

val QCIF: Size

QVGA

val QVGA: Size