Media

final case class Media[F[_]](width: F[Length[Int]], height: F[Length[Int]], aspectRatio: F[Double], deviceWidth: F[Length[Int]], deviceHeight: F[Length[Int]], deviceAspectRatio: F[Double], monochrome: F[Int], color: F[Int], colorIndex: F[Int], orientation: F[Orientation], resolution: F[Resolution[Double]], scan: F[Scan], grid: F[Boolean])
Value Params
color

The number of bits per color component of the output device. If the device is not a color device, this value is zero.

colorIndex

the number of entries in the color look-up table for the output device.

grid

Whether or not the output device is a grid device or a bitmap device. If the device is grid-based (such as a TTY terminal or a phone display with only one font), the value is true, otherwise it is false.

monochrome

The number of bits per pixel on a monochrome (greyscale) device. If the device isn't monochrome, the device's value is 0.

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product