japgolly.scalacss.Env

Media

Related Docs: object Media | package Env

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]) extends Product with Serializable

monochrome

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

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.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Media
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Media(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])

    monochrome

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

    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.

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. val aspectRatio: F[Double]

  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val color: F[Int]

    The number of bits per color component of the output device.

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

  8. val colorIndex: F[Int]

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

  9. val deviceAspectRatio: F[Double]

  10. val deviceHeight: F[Length[Int]]

  11. val deviceWidth: F[Length[Int]]

  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. val grid: F[Boolean]

    Whether or not the output device is a grid device or a bitmap device.

    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.

  16. val height: F[Length[Int]]

  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. val monochrome: F[Int]

    The number of bits per pixel on a monochrome (greyscale) device.

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

  19. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  22. val orientation: F[Orientation]

  23. val resolution: F[Resolution[Double]]

  24. val scan: F[Scan]

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. val width: F[Length[Int]]

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped