|
Graphics.PDF.Colors | Portability | portable | Stability | experimental | Maintainer | misc@NOSPAMalpheccar.org |
|
|
|
|
|
Description |
Colors for a PDF document
|
|
Synopsis |
|
|
|
|
Colors
|
|
Types
|
|
data Color |
A PDF color
| Constructors | | Instances | |
|
|
Functions
|
|
setRGBColorSpace :: Draw () |
Init the PDF color space to RGB.
|
|
fillColor |
:: MonadPath m | | => Color | Filling color
| -> m () | | Select the filling color
|
|
|
strokeColor |
:: MonadPath m | | => Color | Drawing color
| -> m () | | Select the drawing color
|
|
|
setStrokeAlpha :: Double -> Draw () |
Set alpha value for transparency
|
|
setFillAlpha :: Double -> Draw () |
Set alpha value for transparency
|
|
hsvToRgb :: (Double, Double, Double) -> (Double, Double, Double) |
|
Some colors
|
|
black :: Color |
|
white :: Color |
|
red :: Color |
|
blue :: Color |
|
green :: Color |
|
Produced by Haddock version 0.8 |