Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type Ramp = [(Color, Size Percentage)]
- linearGradient :: Direction -> Ramp -> BackgroundImage
- hGradient :: Color -> Color -> BackgroundImage
- vGradient :: Color -> Color -> BackgroundImage
- data Radial
- circle :: Extend -> Radial
- ellipse :: Extend -> Radial
- circular :: Size LengthUnit -> 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 #
Radial gradients.
closestSide :: Extend 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 #