Class/Object

scalacss.internal.Env

Media

Related Docs: object Media | package Env

Permalink

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
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])

    Permalink

    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

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

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

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

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

    Permalink
  6. def clone(): AnyRef

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

    Permalink

    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]

    Permalink

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

  9. val deviceAspectRatio: F[Double]

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

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

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

    Permalink
    Definition Classes
    AnyRef
  13. def finalize(): Unit

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

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

    Permalink

    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]]

    Permalink
  17. final def isInstanceOf[T0]: Boolean

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

    Permalink

    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

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

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

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

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

    Permalink
  24. val scan: F[Scan]

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

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

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

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

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

    Permalink

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped