Safe Haskell | None |
---|---|
Language | Haskell98 |
Synopsis
- aural :: MediaType
- braille :: MediaType
- handheld :: MediaType
- print :: MediaType
- projection :: MediaType
- screen :: MediaType
- tty :: MediaType
- tv :: MediaType
- embossed :: MediaType
- width :: Size LengthUnit -> Feature
- minWidth :: Size LengthUnit -> Feature
- maxWidth :: Size LengthUnit -> Feature
- height :: Size LengthUnit -> Feature
- minHeight :: Size LengthUnit -> Feature
- maxHeight :: Size LengthUnit -> Feature
- deviceWidth :: Size LengthUnit -> Feature
- minDeviceWidth :: Size LengthUnit -> Feature
- maxDeviceWidth :: Size LengthUnit -> Feature
- deviceHeight :: Size LengthUnit -> Feature
- minDeviceHeight :: Size LengthUnit -> Feature
- maxDeviceHeight :: Size LengthUnit -> Feature
- aspectRatio :: (Integer, Integer) -> Feature
- minAspectRatio :: (Integer, Integer) -> Feature
- maxAspectRatio :: (Integer, Integer) -> Feature
- deviceAspectRatio :: (Integer, Integer) -> Feature
- minDeviceAspectRatio :: (Integer, Integer) -> Feature
- maxDeviceAspectRatio :: (Integer, Integer) -> Feature
- color :: Feature
- monochrome :: Feature
- scan :: Feature
- grid :: Feature
- minColor :: Integer -> Feature
- maxColor :: Integer -> Feature
- colorIndex :: Integer -> Feature
- minColorIndex :: Integer -> Feature
- maxColorIndex :: Integer -> Feature
- minMonochrome :: Integer -> Feature
- maxMonochrome :: Integer -> Feature
- resolution :: Val a => a -> Feature
- minResolution :: Val a => a -> Feature
- maxResolution :: Val a => a -> Feature
- data Resolution
- dpi :: Integer -> Resolution
- dppx :: Integer -> Resolution
Media types.
Geometrical features.
deviceWidth :: Size LengthUnit -> Feature Source #
minDeviceWidth :: Size LengthUnit -> Feature Source #
maxDeviceWidth :: Size LengthUnit -> Feature Source #
deviceHeight :: Size LengthUnit -> Feature Source #
minDeviceHeight :: Size LengthUnit -> Feature Source #
maxDeviceHeight :: Size LengthUnit -> Feature Source #
Aspect ratio features.
Color related features.
monochrome :: Feature Source #
colorIndex :: Integer -> Feature Source #
minColorIndex :: Integer -> Feature Source #
maxColorIndex :: Integer -> Feature Source #
minMonochrome :: Integer -> Feature Source #
maxMonochrome :: Integer -> Feature Source #
Resolution related features.
resolution :: Val a => a -> Feature Source #
minResolution :: Val a => a -> Feature Source #
maxResolution :: Val a => a -> Feature Source #
Resolution value type.
data Resolution Source #
Instances
Val Resolution Source # | |
Defined in Clay.Media value :: Resolution -> Value Source # | |
Other Resolution Source # | |
Defined in Clay.Media other :: Value -> Resolution Source # |
dpi :: Integer -> Resolution Source #
dppx :: Integer -> Resolution Source #