Copyright | (c) 2006-2016 alpheccar.org |
---|---|
License | BSD-style |
Maintainer | misc@NOSPAMalpheccar.org |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Colors for a PDF document
Synopsis
- data Color
- setRGBColorSpace :: Draw ()
- fillColor :: MonadPath m => Color -> m ()
- strokeColor :: MonadPath m => Color -> m ()
- setStrokeAlpha :: Double -> Draw ()
- setFillAlpha :: Double -> Draw ()
- hsvToRgb :: (Double, Double, Double) -> (Double, Double, Double)
- black :: Color
- white :: Color
- red :: Color
- blue :: Color
- green :: Color
Colors
Types
Functions
setRGBColorSpace :: Draw () Source #
Init the PDF color space to RGB.
setStrokeAlpha :: Double -> Draw () Source #
Set alpha value for transparency
setFillAlpha :: Double -> Draw () Source #
Set alpha value for transparency