HPDF-1.4.8: Generation of PDF documents

Copyright(c) 2006-2012, alpheccar.org
LicenseBSD-style
Maintainermisc@NOSPAMalpheccar.org
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell98

Graphics.PDF.Colors

Contents

Description

Colors for a PDF document

Synopsis

Colors

Types

data Color Source

A PDF color

Constructors

Rgb !Double !Double !Double 
Hsv !Double !Double !Double 

Instances

Functions

setRGBColorSpace :: Draw () Source

Init the PDF color space to RGB.

fillColor Source

Arguments

:: MonadPath m 
=> Color

Filling color

-> m () 

Select the filling color

strokeColor Source

Arguments

:: MonadPath m 
=> Color

Drawing color

-> m () 

Select the drawing color

setStrokeAlpha :: Double -> Draw () Source

Set alpha value for transparency

setFillAlpha :: Double -> Draw () Source

Set alpha value for transparency

Some colors