Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Colored a = Colored {
- _coloredColor :: !LayeredColor
- _coloredColorable :: !a
- class Colorable a where
Documentation
Colored | |
|
Show a => Show (Colored a) Source # | |
DiscreteColorableMorphing a => DiscreteDistance (Colored a) Source # | Interpolates the color and morphs the |
HasLayeredColor (Colored a) Source # | |
Colorable a => Drawable (Colored a) Source # | |
DiscreteColorableMorphing a => DiscreteMorphing (Colored a) Source # |
Interpolates the color and morphs the |
Reexports
class Colorable a where Source #
A Colorable
is a colourless graphical element.
drawUsingColor :: (Draw e, MonadReader e m, MonadIO m) => a -> LayeredColor -> m () Source #
To draw a Colorable
, we need to pass a LayeredColor
.