Copyright | (c) Alastair Reid, 1999-2003 |
---|---|
License | BSD-style (see the file libraries/base/LICENSE) |
Maintainer | libraries@haskell.org |
Stability | provisional |
Portability | non-portable (requires concurrency) |
Safe Haskell | None |
Language | Haskell98 |
Graphics.HGL.Draw.Brush
Description
Brushes, used for filling shapes.
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.