Copyright | (C) Frank Staals |
---|---|
License | see the LICENSE file |
Maintainer | Frank Staals |
Safe Haskell | None |
Language | Haskell2010 |
Data type for representing colors in ipe as well as the colors available in the standard ipe stylesheet.
Synopsis
- newtype IpeColor r = IpeColor (IpeValue (RGB r))
- named :: Text -> IpeColor r
- red :: IpeColor r
- green :: IpeColor r
- blue :: IpeColor r
- yellow :: IpeColor r
- orange :: IpeColor r
- gold :: IpeColor r
- purple :: IpeColor r
- gray :: IpeColor r
- brown :: IpeColor r
- navy :: IpeColor r
- pink :: IpeColor r
- seagreen :: IpeColor r
- turquoise :: IpeColor r
- violet :: IpeColor r
- darkblue :: IpeColor r
- darkcyan :: IpeColor r
- darkgray :: IpeColor r
- darkgreen :: IpeColor r
- darkmagenta :: IpeColor r
- darkorange :: IpeColor r
- darkred :: IpeColor r
- lightblue :: IpeColor r
- lightcyan :: IpeColor r
- lightgray :: IpeColor r
- lightgreen :: IpeColor r
- lightyellow :: IpeColor r
Documentation
Instances
Eq r => Eq (IpeColor r) Source # | |
Ord r => Ord (IpeColor r) Source # | |
Read r => Read (IpeColor r) Source # | |
Show r => Show (IpeColor r) Source # | |
IpeWriteText r => IpeWriteText (IpeColor r) Source # | |
Defined in Data.Geometry.Ipe.Writer | |
Coordinate r => IpeReadText (IpeColor r) Source # | |
Defined in Data.Geometry.Ipe.Reader ipeReadText :: Text -> Either ConversionError (IpeColor r) Source # |
Basic Named colors
darkmagenta :: IpeColor r Source #
darkorange :: IpeColor r Source #
lightgreen :: IpeColor r Source #
lightyellow :: IpeColor r Source #