HPDF-0.3: PDF API for HaskellContentsIndex
Graphics.PDF.Shading
Contents
Shading
Data types
Operators
Description
Function used to create shading patterns
Synopsis
data Shading
= Axial Color Color Float Float Float Float
| Radial Color Color Float Float Float Float Float Float
createShading :: Shading -> PdfCmd
strokeShading :: Shading -> PdfCmd
fillShading :: Shading -> PdfCmd
Shading
Data types
data Shading
Axial or radial shading
Constructors
Axial Color Color Float Float Float FloatAxial shading with start end color and the start and ending points
Radial Color Color Float Float Float Float Float FloatRadial shading with start and end color, center and radius of start and end circle
show/hide Instances
Operators
createShading :: Shading -> PdfCmd
Create a new kind of shading
strokeShading :: Shading -> PdfCmd
Select a shading for stroking (it must have been created before)
fillShading :: Shading -> PdfCmd
Select a shading for filling (it must have been created before)
Produced by Haddock version 0.8