Copyright | (c) 2006-2016 alpheccar.org |
---|---|
License | BSD-style |
Maintainer | misc@NOSPAMalpheccar.org |
Stability | experimental |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
PDF shading
Synopsis
- data PDFShading
- paintWithShading :: PDFShading -> Draw a -> Draw ()
- applyShading :: PDFShading -> Draw ()
Shading
Type
data PDFShading Source #
A shading
AxialShading PDFFloat PDFFloat PDFFloat PDFFloat Color Color | |
RadialShading PDFFloat PDFFloat PDFFloat PDFFloat PDFFloat PDFFloat Color Color |
Instances
Eq PDFShading Source # | |
Defined in Graphics.PDF.Draw (==) :: PDFShading -> PDFShading -> Bool # (/=) :: PDFShading -> PDFShading -> Bool # | |
Ord PDFShading Source # | |
Defined in Graphics.PDF.Draw compare :: PDFShading -> PDFShading -> Ordering # (<) :: PDFShading -> PDFShading -> Bool # (<=) :: PDFShading -> PDFShading -> Bool # (>) :: PDFShading -> PDFShading -> Bool # (>=) :: PDFShading -> PDFShading -> Bool # max :: PDFShading -> PDFShading -> PDFShading # min :: PDFShading -> PDFShading -> PDFShading # |
:: PDFShading | Shading |
-> Draw a | Shape to paint |
-> Draw () |
applyShading :: PDFShading -> Draw () Source #
Fill clipping region with a shading