| Portability | GHC |
|---|---|
| Stability | highly unstable |
| Maintainer | Stephen Tetley <stephen.tetley@gmail.com> |
Wumpus.Core.Colour
Contents
Description
Colour represented as RGB with each component in the range [0..255].
Note - the predifined colours are hidden when importing the
top-level module Wumpus.Core, import this module directly
to use them.
RGB colour type
Colours levels are in the range [0..255]
Note - this is the format used by SVG, whereas PostScript uses [0..1].
It is more efficient to prefer SVG here.
Instances
| Eq RGBi | |
| Ord RGBi | |
| Show RGBi | |
| Format RGBi | |
| Ellipse RGBi | |
| TextLabel RGBi | |
| Fill RGBi | |
| Stroke RGBi | |
| Ellipse (RGBi, [StrokeAttr]) | |
| Ellipse (RGBi, StrokeAttr) | |
| Ellipse (RGBi, XLink) | |
| TextLabel (RGBi, FontAttr) | |
| TextLabel (RGBi, XLink) | |
| Fill (RGBi, XLink) | |
| Stroke (RGBi, [StrokeAttr]) | |
| Stroke (RGBi, StrokeAttr) | |
| Stroke (RGBi, XLink) | |
| Ellipse (RGBi, [StrokeAttr], XLink) | |
| TextLabel (RGBi, FontAttr, XLink) | |
| Stroke (RGBi, [StrokeAttr], XLink) | |
| Stroke (RGBi, StrokeAttr, XLink) |