Safe Haskell | None |
---|
- 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 -> BackgroundImageSource
hGradient :: Color -> Color -> BackgroundImageSource
vGradient :: Color -> Color -> BackgroundImageSource
Radial gradients.
elliptical :: Size a -> Size a -> RadialSource
radialGradient :: Loc l => l -> Radial -> Ramp -> BackgroundImageSource
Repeating gradients.
repeatingRadialGradient :: Loc l => l -> Radial -> Ramp -> BackgroundImageSource