Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data GradientColor = GradientColor' {
- stops :: Maybe [GradientStop]
- newGradientColor :: GradientColor
- gradientColor_stops :: Lens' GradientColor (Maybe [GradientStop])
Documentation
data GradientColor Source #
Determines the gradient color settings.
See: newGradientColor
smart constructor.
GradientColor' | |
|
Instances
newGradientColor :: GradientColor Source #
Create a value of GradientColor
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:stops:GradientColor'
, gradientColor_stops
- The list of gradient color stops.
gradientColor_stops :: Lens' GradientColor (Maybe [GradientStop]) Source #
The list of gradient color stops.