Graphics Libraries (HGL package)ContentsIndex
Graphics.HGL.Draw.Brush
Portabilitynon-portable (requires concurrency)
Stabilityprovisional
Maintainerlibraries@haskell.org
Description
Brushes, used for filling shapes.
Synopsis
data Brush
createBrush :: RGB -> IO Brush
deleteBrush :: Brush -> IO ()
selectBrush :: Brush -> Draw Brush
mkBrush :: RGB -> (Brush -> Draw a) -> Draw a
Documentation
data Brush
createBrush :: RGB -> IO Brush
Create a Brush.
deleteBrush :: Brush -> IO ()
Destroy a Brush created with createBrush.
selectBrush :: Brush -> Draw Brush
Set the Brush for subsequent drawing, returning the previous setting.
mkBrush :: RGB -> (Brush -> Draw a) -> Draw a
Create a Brush locally to a drawing.
Produced by Haddock version 0.7