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.
- Alphabetic
- By Inheritance
- Media
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val aspectRatio: F[Double]
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- val color: F[Int]
- val colorIndex: F[Int]
- val deviceAspectRatio: F[Double]
- val deviceHeight: F[Length[Int]]
- val deviceWidth: F[Length[Int]]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val grid: F[Boolean]
- val height: F[Length[Int]]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val monochrome: F[Int]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val orientation: F[Orientation]
- val resolution: F[Resolution[Double]]
- val scan: F[Scan]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- val width: F[Length[Int]]