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 FontConfiguration = FontConfiguration' {}
- newFontConfiguration :: FontConfiguration
- fontConfiguration_fontColor :: Lens' FontConfiguration (Maybe Text)
- fontConfiguration_fontDecoration :: Lens' FontConfiguration (Maybe FontDecoration)
- fontConfiguration_fontSize :: Lens' FontConfiguration (Maybe FontSize)
- fontConfiguration_fontStyle :: Lens' FontConfiguration (Maybe FontStyle)
- fontConfiguration_fontWeight :: Lens' FontConfiguration (Maybe FontWeight)
Documentation
data FontConfiguration Source #
Configures the display properties of the given text.
See: newFontConfiguration
smart constructor.
FontConfiguration' | |
|
Instances
newFontConfiguration :: FontConfiguration Source #
Create a value of FontConfiguration
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:fontColor:FontConfiguration'
, fontConfiguration_fontColor
- Determines the color of the text.
$sel:fontDecoration:FontConfiguration'
, fontConfiguration_fontDecoration
- Determines the appearance of decorative lines on the text.
$sel:fontSize:FontConfiguration'
, fontConfiguration_fontSize
- The option that determines the text display size.
$sel:fontStyle:FontConfiguration'
, fontConfiguration_fontStyle
- Determines the text display face that is inherited by the given font
family.
$sel:fontWeight:FontConfiguration'
, fontConfiguration_fontWeight
- The option that determines the text display weight, or boldness.
fontConfiguration_fontColor :: Lens' FontConfiguration (Maybe Text) Source #
Determines the color of the text.
fontConfiguration_fontDecoration :: Lens' FontConfiguration (Maybe FontDecoration) Source #
Determines the appearance of decorative lines on the text.
fontConfiguration_fontSize :: Lens' FontConfiguration (Maybe FontSize) Source #
The option that determines the text display size.
fontConfiguration_fontStyle :: Lens' FontConfiguration (Maybe FontStyle) Source #
Determines the text display face that is inherited by the given font family.
fontConfiguration_fontWeight :: Lens' FontConfiguration (Maybe FontWeight) Source #
The option that determines the text display weight, or boldness.