This module defines a type
Drawing for creating vector graphics.
Encapsulates outline color etc.
outlineColor :: Color -> OutlineStyle
Set the outline color.
lineWidth :: Number -> OutlineStyle
Set the line width.
shadowBlur :: Number -> Shadow
Set the shadow blur.
shadowColor :: Color -> Shadow
Set the shadow color.
everywhere :: (Drawing -> Drawing) -> Drawing -> Drawing
Drawing by applying a transformation to every subdrawing.
Re-exports from Color
The representation of a color.
Eqinstance compares two
Colors by comparing their (integer) RGB values. This is different from comparing the HSL values (for example, HSL has many different representations of black (arbitrary hue and saturation values).
- Colors outside the sRGB gamut which cannot be displayed on a typical
computer screen can not be represented by