Safe Haskell | None |
---|---|
Language | Haskell98 |
- type Ramp = [(Color, Size Rel)]
- linearGradient :: Direction -> Ramp -> BackgroundImage
- hGradient :: Color -> Color -> BackgroundImage
- vGradient :: Color -> Color -> BackgroundImage
- data Radial
- circle :: Extend -> Radial
- ellipse :: Extend -> Radial
- circular :: Size Abs -> Radial
- elliptical :: Size a -> Size a -> Radial
- data Extend
- closestSide :: Extend
- closestCorner :: Extend
- farthestSide :: Extend
- farthestCorner :: Extend
- radialGradient :: Loc l => l -> Radial -> Ramp -> BackgroundImage
- repeatingLinearGradient :: Direction -> Ramp -> BackgroundImage
- hRepeatingGradient :: Color -> Color -> BackgroundImage
- vRepeatingGradient :: Color -> Color -> BackgroundImage
- repeatingRadialGradient :: Loc l => l -> Radial -> Ramp -> BackgroundImage
Color ramp type.
Linear gradients.
linearGradient :: Direction -> Ramp -> BackgroundImage Source
hGradient :: Color -> Color -> BackgroundImage Source
vGradient :: Color -> Color -> BackgroundImage Source
Radial gradients.
elliptical :: Size a -> Size a -> Radial Source
radialGradient :: Loc l => l -> Radial -> Ramp -> BackgroundImage Source
Repeating gradients.
hRepeatingGradient :: Color -> Color -> BackgroundImage Source
vRepeatingGradient :: Color -> Color -> BackgroundImage Source
repeatingRadialGradient :: Loc l => l -> Radial -> Ramp -> BackgroundImage Source