Size

class Size(val width: Int, val height: Int)(source)

A size in whole pixels.

Used for real frame dimensions: what a decoder reports, what an encoder accepts. Anything a caller authors is normalised instead. See NormalizedRect.

Constructors

Link copied to clipboard
constructor(width: Int, height: Int)

Properties

Link copied to clipboard

Width over height, or zero when height is zero.

Link copied to clipboard
val height: Int

Height in pixels.

Link copied to clipboard
val width: Int

Width in pixels.