Module
Flare.Drawing
- Package
- purescript-flare
- Repository
- sharkdp/purescript-flare
Re-exports from Graphics.Drawing
#OutlineStyle Source
#Color Source
data Color
The representation of a color.
Note:
- The
Eq
instance compares twoColor
s 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
Color
.
Instances
#shadowColor Source
shadowColor :: Color -> Shadow
Set the shadow color.
#shadowBlur Source
shadowBlur :: Number -> Shadow
Set the shadow blur.
#outlineColor Source
outlineColor :: Color -> OutlineStyle
Set the outline color.
#lineWidth Source
lineWidth :: Number -> OutlineStyle
Set the line width.
#everywhere Source
everywhere :: (Drawing -> Drawing) -> Drawing -> Drawing
Modify a Drawing
by applying a transformation to every subdrawing.
- Modules
- Flare
- Flare.
Drawing - Flare.
Smolder