{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}
module Amazonka.MediaConvert.Types.BurninDestinationSettings where
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import Amazonka.MediaConvert.Types.BurnInSubtitleStylePassthrough
import Amazonka.MediaConvert.Types.BurninSubtitleAlignment
import Amazonka.MediaConvert.Types.BurninSubtitleApplyFontColor
import Amazonka.MediaConvert.Types.BurninSubtitleBackgroundColor
import Amazonka.MediaConvert.Types.BurninSubtitleFallbackFont
import Amazonka.MediaConvert.Types.BurninSubtitleFontColor
import Amazonka.MediaConvert.Types.BurninSubtitleOutlineColor
import Amazonka.MediaConvert.Types.BurninSubtitleShadowColor
import Amazonka.MediaConvert.Types.BurninSubtitleTeletextSpacing
import Amazonka.MediaConvert.Types.FontScript
import qualified Amazonka.Prelude as Prelude
data BurninDestinationSettings = BurninDestinationSettings'
{
BurninDestinationSettings -> Maybe Natural
backgroundOpacity :: Prelude.Maybe Prelude.Natural,
BurninDestinationSettings -> Maybe BurninSubtitleFallbackFont
fallbackFont :: Prelude.Maybe BurninSubtitleFallbackFont,
BurninDestinationSettings -> Maybe Natural
fontOpacity :: Prelude.Maybe Prelude.Natural,
BurninDestinationSettings -> Maybe Int
shadowYOffset :: Prelude.Maybe Prelude.Int,
BurninDestinationSettings -> Maybe Natural
fontResolution :: Prelude.Maybe Prelude.Natural,
BurninDestinationSettings -> Maybe Natural
yPosition :: Prelude.Maybe Prelude.Natural,
BurninDestinationSettings -> Maybe BurninSubtitleBackgroundColor
backgroundColor :: Prelude.Maybe BurninSubtitleBackgroundColor,
BurninDestinationSettings -> Maybe Int
shadowXOffset :: Prelude.Maybe Prelude.Int,
BurninDestinationSettings -> Maybe Natural
fontSize :: Prelude.Maybe Prelude.Natural,
BurninDestinationSettings -> Maybe Natural
xPosition :: Prelude.Maybe Prelude.Natural,
BurninDestinationSettings -> Maybe BurninSubtitleTeletextSpacing
teletextSpacing :: Prelude.Maybe BurninSubtitleTeletextSpacing,
BurninDestinationSettings -> Maybe FontScript
fontScript :: Prelude.Maybe FontScript,
BurninDestinationSettings -> Maybe BurninSubtitleAlignment
alignment :: Prelude.Maybe BurninSubtitleAlignment,
BurninDestinationSettings -> Maybe Natural
shadowOpacity :: Prelude.Maybe Prelude.Natural,
BurninDestinationSettings -> Maybe BurninSubtitleApplyFontColor
applyFontColor :: Prelude.Maybe BurninSubtitleApplyFontColor,
BurninDestinationSettings -> Maybe BurnInSubtitleStylePassthrough
stylePassthrough :: Prelude.Maybe BurnInSubtitleStylePassthrough,
BurninDestinationSettings -> Maybe BurninSubtitleOutlineColor
outlineColor :: Prelude.Maybe BurninSubtitleOutlineColor,
BurninDestinationSettings -> Maybe Natural
outlineSize :: Prelude.Maybe Prelude.Natural,
BurninDestinationSettings -> Maybe BurninSubtitleShadowColor
shadowColor :: Prelude.Maybe BurninSubtitleShadowColor,
BurninDestinationSettings -> Maybe Text
hexFontColor :: Prelude.Maybe Prelude.Text,
BurninDestinationSettings -> Maybe BurninSubtitleFontColor
fontColor :: Prelude.Maybe BurninSubtitleFontColor
}
deriving (BurninDestinationSettings -> BurninDestinationSettings -> Bool
(BurninDestinationSettings -> BurninDestinationSettings -> Bool)
-> (BurninDestinationSettings -> BurninDestinationSettings -> Bool)
-> Eq BurninDestinationSettings
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: BurninDestinationSettings -> BurninDestinationSettings -> Bool
$c/= :: BurninDestinationSettings -> BurninDestinationSettings -> Bool
== :: BurninDestinationSettings -> BurninDestinationSettings -> Bool
$c== :: BurninDestinationSettings -> BurninDestinationSettings -> Bool
Prelude.Eq, ReadPrec [BurninDestinationSettings]
ReadPrec BurninDestinationSettings
Int -> ReadS BurninDestinationSettings
ReadS [BurninDestinationSettings]
(Int -> ReadS BurninDestinationSettings)
-> ReadS [BurninDestinationSettings]
-> ReadPrec BurninDestinationSettings
-> ReadPrec [BurninDestinationSettings]
-> Read BurninDestinationSettings
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [BurninDestinationSettings]
$creadListPrec :: ReadPrec [BurninDestinationSettings]
readPrec :: ReadPrec BurninDestinationSettings
$creadPrec :: ReadPrec BurninDestinationSettings
readList :: ReadS [BurninDestinationSettings]
$creadList :: ReadS [BurninDestinationSettings]
readsPrec :: Int -> ReadS BurninDestinationSettings
$creadsPrec :: Int -> ReadS BurninDestinationSettings
Prelude.Read, Int -> BurninDestinationSettings -> ShowS
[BurninDestinationSettings] -> ShowS
BurninDestinationSettings -> String
(Int -> BurninDestinationSettings -> ShowS)
-> (BurninDestinationSettings -> String)
-> ([BurninDestinationSettings] -> ShowS)
-> Show BurninDestinationSettings
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [BurninDestinationSettings] -> ShowS
$cshowList :: [BurninDestinationSettings] -> ShowS
show :: BurninDestinationSettings -> String
$cshow :: BurninDestinationSettings -> String
showsPrec :: Int -> BurninDestinationSettings -> ShowS
$cshowsPrec :: Int -> BurninDestinationSettings -> ShowS
Prelude.Show, (forall x.
BurninDestinationSettings -> Rep BurninDestinationSettings x)
-> (forall x.
Rep BurninDestinationSettings x -> BurninDestinationSettings)
-> Generic BurninDestinationSettings
forall x.
Rep BurninDestinationSettings x -> BurninDestinationSettings
forall x.
BurninDestinationSettings -> Rep BurninDestinationSettings x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep BurninDestinationSettings x -> BurninDestinationSettings
$cfrom :: forall x.
BurninDestinationSettings -> Rep BurninDestinationSettings x
Prelude.Generic)
newBurninDestinationSettings ::
BurninDestinationSettings
newBurninDestinationSettings :: BurninDestinationSettings
newBurninDestinationSettings =
BurninDestinationSettings' :: Maybe Natural
-> Maybe BurninSubtitleFallbackFont
-> Maybe Natural
-> Maybe Int
-> Maybe Natural
-> Maybe Natural
-> Maybe BurninSubtitleBackgroundColor
-> Maybe Int
-> Maybe Natural
-> Maybe Natural
-> Maybe BurninSubtitleTeletextSpacing
-> Maybe FontScript
-> Maybe BurninSubtitleAlignment
-> Maybe Natural
-> Maybe BurninSubtitleApplyFontColor
-> Maybe BurnInSubtitleStylePassthrough
-> Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings
BurninDestinationSettings'
{ $sel:backgroundOpacity:BurninDestinationSettings' :: Maybe Natural
backgroundOpacity =
Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:fallbackFont:BurninDestinationSettings' :: Maybe BurninSubtitleFallbackFont
fallbackFont = Maybe BurninSubtitleFallbackFont
forall a. Maybe a
Prelude.Nothing,
$sel:fontOpacity:BurninDestinationSettings' :: Maybe Natural
fontOpacity = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:shadowYOffset:BurninDestinationSettings' :: Maybe Int
shadowYOffset = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:fontResolution:BurninDestinationSettings' :: Maybe Natural
fontResolution = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:yPosition:BurninDestinationSettings' :: Maybe Natural
yPosition = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:backgroundColor:BurninDestinationSettings' :: Maybe BurninSubtitleBackgroundColor
backgroundColor = Maybe BurninSubtitleBackgroundColor
forall a. Maybe a
Prelude.Nothing,
$sel:shadowXOffset:BurninDestinationSettings' :: Maybe Int
shadowXOffset = Maybe Int
forall a. Maybe a
Prelude.Nothing,
$sel:fontSize:BurninDestinationSettings' :: Maybe Natural
fontSize = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:xPosition:BurninDestinationSettings' :: Maybe Natural
xPosition = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:teletextSpacing:BurninDestinationSettings' :: Maybe BurninSubtitleTeletextSpacing
teletextSpacing = Maybe BurninSubtitleTeletextSpacing
forall a. Maybe a
Prelude.Nothing,
$sel:fontScript:BurninDestinationSettings' :: Maybe FontScript
fontScript = Maybe FontScript
forall a. Maybe a
Prelude.Nothing,
$sel:alignment:BurninDestinationSettings' :: Maybe BurninSubtitleAlignment
alignment = Maybe BurninSubtitleAlignment
forall a. Maybe a
Prelude.Nothing,
$sel:shadowOpacity:BurninDestinationSettings' :: Maybe Natural
shadowOpacity = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:applyFontColor:BurninDestinationSettings' :: Maybe BurninSubtitleApplyFontColor
applyFontColor = Maybe BurninSubtitleApplyFontColor
forall a. Maybe a
Prelude.Nothing,
$sel:stylePassthrough:BurninDestinationSettings' :: Maybe BurnInSubtitleStylePassthrough
stylePassthrough = Maybe BurnInSubtitleStylePassthrough
forall a. Maybe a
Prelude.Nothing,
$sel:outlineColor:BurninDestinationSettings' :: Maybe BurninSubtitleOutlineColor
outlineColor = Maybe BurninSubtitleOutlineColor
forall a. Maybe a
Prelude.Nothing,
$sel:outlineSize:BurninDestinationSettings' :: Maybe Natural
outlineSize = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:shadowColor:BurninDestinationSettings' :: Maybe BurninSubtitleShadowColor
shadowColor = Maybe BurninSubtitleShadowColor
forall a. Maybe a
Prelude.Nothing,
$sel:hexFontColor:BurninDestinationSettings' :: Maybe Text
hexFontColor = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:fontColor:BurninDestinationSettings' :: Maybe BurninSubtitleFontColor
fontColor = Maybe BurninSubtitleFontColor
forall a. Maybe a
Prelude.Nothing
}
burninDestinationSettings_backgroundOpacity :: Lens.Lens' BurninDestinationSettings (Prelude.Maybe Prelude.Natural)
burninDestinationSettings_backgroundOpacity :: (Maybe Natural -> f (Maybe Natural))
-> BurninDestinationSettings -> f BurninDestinationSettings
burninDestinationSettings_backgroundOpacity = (BurninDestinationSettings -> Maybe Natural)
-> (BurninDestinationSettings
-> Maybe Natural -> BurninDestinationSettings)
-> Lens
BurninDestinationSettings
BurninDestinationSettings
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BurninDestinationSettings' {Maybe Natural
backgroundOpacity :: Maybe Natural
$sel:backgroundOpacity:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe Natural
backgroundOpacity} -> Maybe Natural
backgroundOpacity) (\s :: BurninDestinationSettings
s@BurninDestinationSettings' {} Maybe Natural
a -> BurninDestinationSettings
s {$sel:backgroundOpacity:BurninDestinationSettings' :: Maybe Natural
backgroundOpacity = Maybe Natural
a} :: BurninDestinationSettings)
burninDestinationSettings_fallbackFont :: Lens.Lens' BurninDestinationSettings (Prelude.Maybe BurninSubtitleFallbackFont)
burninDestinationSettings_fallbackFont :: (Maybe BurninSubtitleFallbackFont
-> f (Maybe BurninSubtitleFallbackFont))
-> BurninDestinationSettings -> f BurninDestinationSettings
burninDestinationSettings_fallbackFont = (BurninDestinationSettings -> Maybe BurninSubtitleFallbackFont)
-> (BurninDestinationSettings
-> Maybe BurninSubtitleFallbackFont -> BurninDestinationSettings)
-> Lens
BurninDestinationSettings
BurninDestinationSettings
(Maybe BurninSubtitleFallbackFont)
(Maybe BurninSubtitleFallbackFont)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BurninDestinationSettings' {Maybe BurninSubtitleFallbackFont
fallbackFont :: Maybe BurninSubtitleFallbackFont
$sel:fallbackFont:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe BurninSubtitleFallbackFont
fallbackFont} -> Maybe BurninSubtitleFallbackFont
fallbackFont) (\s :: BurninDestinationSettings
s@BurninDestinationSettings' {} Maybe BurninSubtitleFallbackFont
a -> BurninDestinationSettings
s {$sel:fallbackFont:BurninDestinationSettings' :: Maybe BurninSubtitleFallbackFont
fallbackFont = Maybe BurninSubtitleFallbackFont
a} :: BurninDestinationSettings)
burninDestinationSettings_fontOpacity :: Lens.Lens' BurninDestinationSettings (Prelude.Maybe Prelude.Natural)
burninDestinationSettings_fontOpacity :: (Maybe Natural -> f (Maybe Natural))
-> BurninDestinationSettings -> f BurninDestinationSettings
burninDestinationSettings_fontOpacity = (BurninDestinationSettings -> Maybe Natural)
-> (BurninDestinationSettings
-> Maybe Natural -> BurninDestinationSettings)
-> Lens
BurninDestinationSettings
BurninDestinationSettings
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BurninDestinationSettings' {Maybe Natural
fontOpacity :: Maybe Natural
$sel:fontOpacity:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe Natural
fontOpacity} -> Maybe Natural
fontOpacity) (\s :: BurninDestinationSettings
s@BurninDestinationSettings' {} Maybe Natural
a -> BurninDestinationSettings
s {$sel:fontOpacity:BurninDestinationSettings' :: Maybe Natural
fontOpacity = Maybe Natural
a} :: BurninDestinationSettings)
burninDestinationSettings_shadowYOffset :: Lens.Lens' BurninDestinationSettings (Prelude.Maybe Prelude.Int)
burninDestinationSettings_shadowYOffset :: (Maybe Int -> f (Maybe Int))
-> BurninDestinationSettings -> f BurninDestinationSettings
burninDestinationSettings_shadowYOffset = (BurninDestinationSettings -> Maybe Int)
-> (BurninDestinationSettings
-> Maybe Int -> BurninDestinationSettings)
-> Lens
BurninDestinationSettings
BurninDestinationSettings
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BurninDestinationSettings' {Maybe Int
shadowYOffset :: Maybe Int
$sel:shadowYOffset:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe Int
shadowYOffset} -> Maybe Int
shadowYOffset) (\s :: BurninDestinationSettings
s@BurninDestinationSettings' {} Maybe Int
a -> BurninDestinationSettings
s {$sel:shadowYOffset:BurninDestinationSettings' :: Maybe Int
shadowYOffset = Maybe Int
a} :: BurninDestinationSettings)
burninDestinationSettings_fontResolution :: Lens.Lens' BurninDestinationSettings (Prelude.Maybe Prelude.Natural)
burninDestinationSettings_fontResolution :: (Maybe Natural -> f (Maybe Natural))
-> BurninDestinationSettings -> f BurninDestinationSettings
burninDestinationSettings_fontResolution = (BurninDestinationSettings -> Maybe Natural)
-> (BurninDestinationSettings
-> Maybe Natural -> BurninDestinationSettings)
-> Lens
BurninDestinationSettings
BurninDestinationSettings
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BurninDestinationSettings' {Maybe Natural
fontResolution :: Maybe Natural
$sel:fontResolution:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe Natural
fontResolution} -> Maybe Natural
fontResolution) (\s :: BurninDestinationSettings
s@BurninDestinationSettings' {} Maybe Natural
a -> BurninDestinationSettings
s {$sel:fontResolution:BurninDestinationSettings' :: Maybe Natural
fontResolution = Maybe Natural
a} :: BurninDestinationSettings)
burninDestinationSettings_yPosition :: Lens.Lens' BurninDestinationSettings (Prelude.Maybe Prelude.Natural)
burninDestinationSettings_yPosition :: (Maybe Natural -> f (Maybe Natural))
-> BurninDestinationSettings -> f BurninDestinationSettings
burninDestinationSettings_yPosition = (BurninDestinationSettings -> Maybe Natural)
-> (BurninDestinationSettings
-> Maybe Natural -> BurninDestinationSettings)
-> Lens
BurninDestinationSettings
BurninDestinationSettings
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BurninDestinationSettings' {Maybe Natural
yPosition :: Maybe Natural
$sel:yPosition:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe Natural
yPosition} -> Maybe Natural
yPosition) (\s :: BurninDestinationSettings
s@BurninDestinationSettings' {} Maybe Natural
a -> BurninDestinationSettings
s {$sel:yPosition:BurninDestinationSettings' :: Maybe Natural
yPosition = Maybe Natural
a} :: BurninDestinationSettings)
burninDestinationSettings_backgroundColor :: Lens.Lens' BurninDestinationSettings (Prelude.Maybe BurninSubtitleBackgroundColor)
burninDestinationSettings_backgroundColor :: (Maybe BurninSubtitleBackgroundColor
-> f (Maybe BurninSubtitleBackgroundColor))
-> BurninDestinationSettings -> f BurninDestinationSettings
burninDestinationSettings_backgroundColor = (BurninDestinationSettings -> Maybe BurninSubtitleBackgroundColor)
-> (BurninDestinationSettings
-> Maybe BurninSubtitleBackgroundColor
-> BurninDestinationSettings)
-> Lens
BurninDestinationSettings
BurninDestinationSettings
(Maybe BurninSubtitleBackgroundColor)
(Maybe BurninSubtitleBackgroundColor)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BurninDestinationSettings' {Maybe BurninSubtitleBackgroundColor
backgroundColor :: Maybe BurninSubtitleBackgroundColor
$sel:backgroundColor:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe BurninSubtitleBackgroundColor
backgroundColor} -> Maybe BurninSubtitleBackgroundColor
backgroundColor) (\s :: BurninDestinationSettings
s@BurninDestinationSettings' {} Maybe BurninSubtitleBackgroundColor
a -> BurninDestinationSettings
s {$sel:backgroundColor:BurninDestinationSettings' :: Maybe BurninSubtitleBackgroundColor
backgroundColor = Maybe BurninSubtitleBackgroundColor
a} :: BurninDestinationSettings)
burninDestinationSettings_shadowXOffset :: Lens.Lens' BurninDestinationSettings (Prelude.Maybe Prelude.Int)
burninDestinationSettings_shadowXOffset :: (Maybe Int -> f (Maybe Int))
-> BurninDestinationSettings -> f BurninDestinationSettings
burninDestinationSettings_shadowXOffset = (BurninDestinationSettings -> Maybe Int)
-> (BurninDestinationSettings
-> Maybe Int -> BurninDestinationSettings)
-> Lens
BurninDestinationSettings
BurninDestinationSettings
(Maybe Int)
(Maybe Int)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BurninDestinationSettings' {Maybe Int
shadowXOffset :: Maybe Int
$sel:shadowXOffset:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe Int
shadowXOffset} -> Maybe Int
shadowXOffset) (\s :: BurninDestinationSettings
s@BurninDestinationSettings' {} Maybe Int
a -> BurninDestinationSettings
s {$sel:shadowXOffset:BurninDestinationSettings' :: Maybe Int
shadowXOffset = Maybe Int
a} :: BurninDestinationSettings)
burninDestinationSettings_fontSize :: Lens.Lens' BurninDestinationSettings (Prelude.Maybe Prelude.Natural)
burninDestinationSettings_fontSize :: (Maybe Natural -> f (Maybe Natural))
-> BurninDestinationSettings -> f BurninDestinationSettings
burninDestinationSettings_fontSize = (BurninDestinationSettings -> Maybe Natural)
-> (BurninDestinationSettings
-> Maybe Natural -> BurninDestinationSettings)
-> Lens
BurninDestinationSettings
BurninDestinationSettings
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BurninDestinationSettings' {Maybe Natural
fontSize :: Maybe Natural
$sel:fontSize:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe Natural
fontSize} -> Maybe Natural
fontSize) (\s :: BurninDestinationSettings
s@BurninDestinationSettings' {} Maybe Natural
a -> BurninDestinationSettings
s {$sel:fontSize:BurninDestinationSettings' :: Maybe Natural
fontSize = Maybe Natural
a} :: BurninDestinationSettings)
burninDestinationSettings_xPosition :: Lens.Lens' BurninDestinationSettings (Prelude.Maybe Prelude.Natural)
burninDestinationSettings_xPosition :: (Maybe Natural -> f (Maybe Natural))
-> BurninDestinationSettings -> f BurninDestinationSettings
burninDestinationSettings_xPosition = (BurninDestinationSettings -> Maybe Natural)
-> (BurninDestinationSettings
-> Maybe Natural -> BurninDestinationSettings)
-> Lens
BurninDestinationSettings
BurninDestinationSettings
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BurninDestinationSettings' {Maybe Natural
xPosition :: Maybe Natural
$sel:xPosition:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe Natural
xPosition} -> Maybe Natural
xPosition) (\s :: BurninDestinationSettings
s@BurninDestinationSettings' {} Maybe Natural
a -> BurninDestinationSettings
s {$sel:xPosition:BurninDestinationSettings' :: Maybe Natural
xPosition = Maybe Natural
a} :: BurninDestinationSettings)
burninDestinationSettings_teletextSpacing :: Lens.Lens' BurninDestinationSettings (Prelude.Maybe BurninSubtitleTeletextSpacing)
burninDestinationSettings_teletextSpacing :: (Maybe BurninSubtitleTeletextSpacing
-> f (Maybe BurninSubtitleTeletextSpacing))
-> BurninDestinationSettings -> f BurninDestinationSettings
burninDestinationSettings_teletextSpacing = (BurninDestinationSettings -> Maybe BurninSubtitleTeletextSpacing)
-> (BurninDestinationSettings
-> Maybe BurninSubtitleTeletextSpacing
-> BurninDestinationSettings)
-> Lens
BurninDestinationSettings
BurninDestinationSettings
(Maybe BurninSubtitleTeletextSpacing)
(Maybe BurninSubtitleTeletextSpacing)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BurninDestinationSettings' {Maybe BurninSubtitleTeletextSpacing
teletextSpacing :: Maybe BurninSubtitleTeletextSpacing
$sel:teletextSpacing:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe BurninSubtitleTeletextSpacing
teletextSpacing} -> Maybe BurninSubtitleTeletextSpacing
teletextSpacing) (\s :: BurninDestinationSettings
s@BurninDestinationSettings' {} Maybe BurninSubtitleTeletextSpacing
a -> BurninDestinationSettings
s {$sel:teletextSpacing:BurninDestinationSettings' :: Maybe BurninSubtitleTeletextSpacing
teletextSpacing = Maybe BurninSubtitleTeletextSpacing
a} :: BurninDestinationSettings)
burninDestinationSettings_fontScript :: Lens.Lens' BurninDestinationSettings (Prelude.Maybe FontScript)
burninDestinationSettings_fontScript :: (Maybe FontScript -> f (Maybe FontScript))
-> BurninDestinationSettings -> f BurninDestinationSettings
burninDestinationSettings_fontScript = (BurninDestinationSettings -> Maybe FontScript)
-> (BurninDestinationSettings
-> Maybe FontScript -> BurninDestinationSettings)
-> Lens
BurninDestinationSettings
BurninDestinationSettings
(Maybe FontScript)
(Maybe FontScript)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BurninDestinationSettings' {Maybe FontScript
fontScript :: Maybe FontScript
$sel:fontScript:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe FontScript
fontScript} -> Maybe FontScript
fontScript) (\s :: BurninDestinationSettings
s@BurninDestinationSettings' {} Maybe FontScript
a -> BurninDestinationSettings
s {$sel:fontScript:BurninDestinationSettings' :: Maybe FontScript
fontScript = Maybe FontScript
a} :: BurninDestinationSettings)
burninDestinationSettings_alignment :: Lens.Lens' BurninDestinationSettings (Prelude.Maybe BurninSubtitleAlignment)
burninDestinationSettings_alignment :: (Maybe BurninSubtitleAlignment
-> f (Maybe BurninSubtitleAlignment))
-> BurninDestinationSettings -> f BurninDestinationSettings
burninDestinationSettings_alignment = (BurninDestinationSettings -> Maybe BurninSubtitleAlignment)
-> (BurninDestinationSettings
-> Maybe BurninSubtitleAlignment -> BurninDestinationSettings)
-> Lens
BurninDestinationSettings
BurninDestinationSettings
(Maybe BurninSubtitleAlignment)
(Maybe BurninSubtitleAlignment)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BurninDestinationSettings' {Maybe BurninSubtitleAlignment
alignment :: Maybe BurninSubtitleAlignment
$sel:alignment:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe BurninSubtitleAlignment
alignment} -> Maybe BurninSubtitleAlignment
alignment) (\s :: BurninDestinationSettings
s@BurninDestinationSettings' {} Maybe BurninSubtitleAlignment
a -> BurninDestinationSettings
s {$sel:alignment:BurninDestinationSettings' :: Maybe BurninSubtitleAlignment
alignment = Maybe BurninSubtitleAlignment
a} :: BurninDestinationSettings)
burninDestinationSettings_shadowOpacity :: Lens.Lens' BurninDestinationSettings (Prelude.Maybe Prelude.Natural)
burninDestinationSettings_shadowOpacity :: (Maybe Natural -> f (Maybe Natural))
-> BurninDestinationSettings -> f BurninDestinationSettings
burninDestinationSettings_shadowOpacity = (BurninDestinationSettings -> Maybe Natural)
-> (BurninDestinationSettings
-> Maybe Natural -> BurninDestinationSettings)
-> Lens
BurninDestinationSettings
BurninDestinationSettings
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BurninDestinationSettings' {Maybe Natural
shadowOpacity :: Maybe Natural
$sel:shadowOpacity:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe Natural
shadowOpacity} -> Maybe Natural
shadowOpacity) (\s :: BurninDestinationSettings
s@BurninDestinationSettings' {} Maybe Natural
a -> BurninDestinationSettings
s {$sel:shadowOpacity:BurninDestinationSettings' :: Maybe Natural
shadowOpacity = Maybe Natural
a} :: BurninDestinationSettings)
burninDestinationSettings_applyFontColor :: Lens.Lens' BurninDestinationSettings (Prelude.Maybe BurninSubtitleApplyFontColor)
burninDestinationSettings_applyFontColor :: (Maybe BurninSubtitleApplyFontColor
-> f (Maybe BurninSubtitleApplyFontColor))
-> BurninDestinationSettings -> f BurninDestinationSettings
burninDestinationSettings_applyFontColor = (BurninDestinationSettings -> Maybe BurninSubtitleApplyFontColor)
-> (BurninDestinationSettings
-> Maybe BurninSubtitleApplyFontColor -> BurninDestinationSettings)
-> Lens
BurninDestinationSettings
BurninDestinationSettings
(Maybe BurninSubtitleApplyFontColor)
(Maybe BurninSubtitleApplyFontColor)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BurninDestinationSettings' {Maybe BurninSubtitleApplyFontColor
applyFontColor :: Maybe BurninSubtitleApplyFontColor
$sel:applyFontColor:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe BurninSubtitleApplyFontColor
applyFontColor} -> Maybe BurninSubtitleApplyFontColor
applyFontColor) (\s :: BurninDestinationSettings
s@BurninDestinationSettings' {} Maybe BurninSubtitleApplyFontColor
a -> BurninDestinationSettings
s {$sel:applyFontColor:BurninDestinationSettings' :: Maybe BurninSubtitleApplyFontColor
applyFontColor = Maybe BurninSubtitleApplyFontColor
a} :: BurninDestinationSettings)
burninDestinationSettings_stylePassthrough :: Lens.Lens' BurninDestinationSettings (Prelude.Maybe BurnInSubtitleStylePassthrough)
burninDestinationSettings_stylePassthrough :: (Maybe BurnInSubtitleStylePassthrough
-> f (Maybe BurnInSubtitleStylePassthrough))
-> BurninDestinationSettings -> f BurninDestinationSettings
burninDestinationSettings_stylePassthrough = (BurninDestinationSettings -> Maybe BurnInSubtitleStylePassthrough)
-> (BurninDestinationSettings
-> Maybe BurnInSubtitleStylePassthrough
-> BurninDestinationSettings)
-> Lens
BurninDestinationSettings
BurninDestinationSettings
(Maybe BurnInSubtitleStylePassthrough)
(Maybe BurnInSubtitleStylePassthrough)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BurninDestinationSettings' {Maybe BurnInSubtitleStylePassthrough
stylePassthrough :: Maybe BurnInSubtitleStylePassthrough
$sel:stylePassthrough:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe BurnInSubtitleStylePassthrough
stylePassthrough} -> Maybe BurnInSubtitleStylePassthrough
stylePassthrough) (\s :: BurninDestinationSettings
s@BurninDestinationSettings' {} Maybe BurnInSubtitleStylePassthrough
a -> BurninDestinationSettings
s {$sel:stylePassthrough:BurninDestinationSettings' :: Maybe BurnInSubtitleStylePassthrough
stylePassthrough = Maybe BurnInSubtitleStylePassthrough
a} :: BurninDestinationSettings)
burninDestinationSettings_outlineColor :: Lens.Lens' BurninDestinationSettings (Prelude.Maybe BurninSubtitleOutlineColor)
burninDestinationSettings_outlineColor :: (Maybe BurninSubtitleOutlineColor
-> f (Maybe BurninSubtitleOutlineColor))
-> BurninDestinationSettings -> f BurninDestinationSettings
burninDestinationSettings_outlineColor = (BurninDestinationSettings -> Maybe BurninSubtitleOutlineColor)
-> (BurninDestinationSettings
-> Maybe BurninSubtitleOutlineColor -> BurninDestinationSettings)
-> Lens
BurninDestinationSettings
BurninDestinationSettings
(Maybe BurninSubtitleOutlineColor)
(Maybe BurninSubtitleOutlineColor)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BurninDestinationSettings' {Maybe BurninSubtitleOutlineColor
outlineColor :: Maybe BurninSubtitleOutlineColor
$sel:outlineColor:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe BurninSubtitleOutlineColor
outlineColor} -> Maybe BurninSubtitleOutlineColor
outlineColor) (\s :: BurninDestinationSettings
s@BurninDestinationSettings' {} Maybe BurninSubtitleOutlineColor
a -> BurninDestinationSettings
s {$sel:outlineColor:BurninDestinationSettings' :: Maybe BurninSubtitleOutlineColor
outlineColor = Maybe BurninSubtitleOutlineColor
a} :: BurninDestinationSettings)
burninDestinationSettings_outlineSize :: Lens.Lens' BurninDestinationSettings (Prelude.Maybe Prelude.Natural)
burninDestinationSettings_outlineSize :: (Maybe Natural -> f (Maybe Natural))
-> BurninDestinationSettings -> f BurninDestinationSettings
burninDestinationSettings_outlineSize = (BurninDestinationSettings -> Maybe Natural)
-> (BurninDestinationSettings
-> Maybe Natural -> BurninDestinationSettings)
-> Lens
BurninDestinationSettings
BurninDestinationSettings
(Maybe Natural)
(Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BurninDestinationSettings' {Maybe Natural
outlineSize :: Maybe Natural
$sel:outlineSize:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe Natural
outlineSize} -> Maybe Natural
outlineSize) (\s :: BurninDestinationSettings
s@BurninDestinationSettings' {} Maybe Natural
a -> BurninDestinationSettings
s {$sel:outlineSize:BurninDestinationSettings' :: Maybe Natural
outlineSize = Maybe Natural
a} :: BurninDestinationSettings)
burninDestinationSettings_shadowColor :: Lens.Lens' BurninDestinationSettings (Prelude.Maybe BurninSubtitleShadowColor)
burninDestinationSettings_shadowColor :: (Maybe BurninSubtitleShadowColor
-> f (Maybe BurninSubtitleShadowColor))
-> BurninDestinationSettings -> f BurninDestinationSettings
burninDestinationSettings_shadowColor = (BurninDestinationSettings -> Maybe BurninSubtitleShadowColor)
-> (BurninDestinationSettings
-> Maybe BurninSubtitleShadowColor -> BurninDestinationSettings)
-> Lens
BurninDestinationSettings
BurninDestinationSettings
(Maybe BurninSubtitleShadowColor)
(Maybe BurninSubtitleShadowColor)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BurninDestinationSettings' {Maybe BurninSubtitleShadowColor
shadowColor :: Maybe BurninSubtitleShadowColor
$sel:shadowColor:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe BurninSubtitleShadowColor
shadowColor} -> Maybe BurninSubtitleShadowColor
shadowColor) (\s :: BurninDestinationSettings
s@BurninDestinationSettings' {} Maybe BurninSubtitleShadowColor
a -> BurninDestinationSettings
s {$sel:shadowColor:BurninDestinationSettings' :: Maybe BurninSubtitleShadowColor
shadowColor = Maybe BurninSubtitleShadowColor
a} :: BurninDestinationSettings)
burninDestinationSettings_hexFontColor :: Lens.Lens' BurninDestinationSettings (Prelude.Maybe Prelude.Text)
burninDestinationSettings_hexFontColor :: (Maybe Text -> f (Maybe Text))
-> BurninDestinationSettings -> f BurninDestinationSettings
burninDestinationSettings_hexFontColor = (BurninDestinationSettings -> Maybe Text)
-> (BurninDestinationSettings
-> Maybe Text -> BurninDestinationSettings)
-> Lens
BurninDestinationSettings
BurninDestinationSettings
(Maybe Text)
(Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BurninDestinationSettings' {Maybe Text
hexFontColor :: Maybe Text
$sel:hexFontColor:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe Text
hexFontColor} -> Maybe Text
hexFontColor) (\s :: BurninDestinationSettings
s@BurninDestinationSettings' {} Maybe Text
a -> BurninDestinationSettings
s {$sel:hexFontColor:BurninDestinationSettings' :: Maybe Text
hexFontColor = Maybe Text
a} :: BurninDestinationSettings)
burninDestinationSettings_fontColor :: Lens.Lens' BurninDestinationSettings (Prelude.Maybe BurninSubtitleFontColor)
burninDestinationSettings_fontColor :: (Maybe BurninSubtitleFontColor
-> f (Maybe BurninSubtitleFontColor))
-> BurninDestinationSettings -> f BurninDestinationSettings
burninDestinationSettings_fontColor = (BurninDestinationSettings -> Maybe BurninSubtitleFontColor)
-> (BurninDestinationSettings
-> Maybe BurninSubtitleFontColor -> BurninDestinationSettings)
-> Lens
BurninDestinationSettings
BurninDestinationSettings
(Maybe BurninSubtitleFontColor)
(Maybe BurninSubtitleFontColor)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BurninDestinationSettings' {Maybe BurninSubtitleFontColor
fontColor :: Maybe BurninSubtitleFontColor
$sel:fontColor:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe BurninSubtitleFontColor
fontColor} -> Maybe BurninSubtitleFontColor
fontColor) (\s :: BurninDestinationSettings
s@BurninDestinationSettings' {} Maybe BurninSubtitleFontColor
a -> BurninDestinationSettings
s {$sel:fontColor:BurninDestinationSettings' :: Maybe BurninSubtitleFontColor
fontColor = Maybe BurninSubtitleFontColor
a} :: BurninDestinationSettings)
instance Core.FromJSON BurninDestinationSettings where
parseJSON :: Value -> Parser BurninDestinationSettings
parseJSON =
String
-> (Object -> Parser BurninDestinationSettings)
-> Value
-> Parser BurninDestinationSettings
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Core.withObject
String
"BurninDestinationSettings"
( \Object
x ->
Maybe Natural
-> Maybe BurninSubtitleFallbackFont
-> Maybe Natural
-> Maybe Int
-> Maybe Natural
-> Maybe Natural
-> Maybe BurninSubtitleBackgroundColor
-> Maybe Int
-> Maybe Natural
-> Maybe Natural
-> Maybe BurninSubtitleTeletextSpacing
-> Maybe FontScript
-> Maybe BurninSubtitleAlignment
-> Maybe Natural
-> Maybe BurninSubtitleApplyFontColor
-> Maybe BurnInSubtitleStylePassthrough
-> Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings
BurninDestinationSettings'
(Maybe Natural
-> Maybe BurninSubtitleFallbackFont
-> Maybe Natural
-> Maybe Int
-> Maybe Natural
-> Maybe Natural
-> Maybe BurninSubtitleBackgroundColor
-> Maybe Int
-> Maybe Natural
-> Maybe Natural
-> Maybe BurninSubtitleTeletextSpacing
-> Maybe FontScript
-> Maybe BurninSubtitleAlignment
-> Maybe Natural
-> Maybe BurninSubtitleApplyFontColor
-> Maybe BurnInSubtitleStylePassthrough
-> Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
-> Parser (Maybe Natural)
-> Parser
(Maybe BurninSubtitleFallbackFont
-> Maybe Natural
-> Maybe Int
-> Maybe Natural
-> Maybe Natural
-> Maybe BurninSubtitleBackgroundColor
-> Maybe Int
-> Maybe Natural
-> Maybe Natural
-> Maybe BurninSubtitleTeletextSpacing
-> Maybe FontScript
-> Maybe BurninSubtitleAlignment
-> Maybe Natural
-> Maybe BurninSubtitleApplyFontColor
-> Maybe BurnInSubtitleStylePassthrough
-> Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Parser (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"backgroundOpacity")
Parser
(Maybe BurninSubtitleFallbackFont
-> Maybe Natural
-> Maybe Int
-> Maybe Natural
-> Maybe Natural
-> Maybe BurninSubtitleBackgroundColor
-> Maybe Int
-> Maybe Natural
-> Maybe Natural
-> Maybe BurninSubtitleTeletextSpacing
-> Maybe FontScript
-> Maybe BurninSubtitleAlignment
-> Maybe Natural
-> Maybe BurninSubtitleApplyFontColor
-> Maybe BurnInSubtitleStylePassthrough
-> Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
-> Parser (Maybe BurninSubtitleFallbackFont)
-> Parser
(Maybe Natural
-> Maybe Int
-> Maybe Natural
-> Maybe Natural
-> Maybe BurninSubtitleBackgroundColor
-> Maybe Int
-> Maybe Natural
-> Maybe Natural
-> Maybe BurninSubtitleTeletextSpacing
-> Maybe FontScript
-> Maybe BurninSubtitleAlignment
-> Maybe Natural
-> Maybe BurninSubtitleApplyFontColor
-> Maybe BurnInSubtitleStylePassthrough
-> Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe BurninSubtitleFallbackFont)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"fallbackFont")
Parser
(Maybe Natural
-> Maybe Int
-> Maybe Natural
-> Maybe Natural
-> Maybe BurninSubtitleBackgroundColor
-> Maybe Int
-> Maybe Natural
-> Maybe Natural
-> Maybe BurninSubtitleTeletextSpacing
-> Maybe FontScript
-> Maybe BurninSubtitleAlignment
-> Maybe Natural
-> Maybe BurninSubtitleApplyFontColor
-> Maybe BurnInSubtitleStylePassthrough
-> Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
-> Parser (Maybe Natural)
-> Parser
(Maybe Int
-> Maybe Natural
-> Maybe Natural
-> Maybe BurninSubtitleBackgroundColor
-> Maybe Int
-> Maybe Natural
-> Maybe Natural
-> Maybe BurninSubtitleTeletextSpacing
-> Maybe FontScript
-> Maybe BurninSubtitleAlignment
-> Maybe Natural
-> Maybe BurninSubtitleApplyFontColor
-> Maybe BurnInSubtitleStylePassthrough
-> Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"fontOpacity")
Parser
(Maybe Int
-> Maybe Natural
-> Maybe Natural
-> Maybe BurninSubtitleBackgroundColor
-> Maybe Int
-> Maybe Natural
-> Maybe Natural
-> Maybe BurninSubtitleTeletextSpacing
-> Maybe FontScript
-> Maybe BurninSubtitleAlignment
-> Maybe Natural
-> Maybe BurninSubtitleApplyFontColor
-> Maybe BurnInSubtitleStylePassthrough
-> Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
-> Parser (Maybe Int)
-> Parser
(Maybe Natural
-> Maybe Natural
-> Maybe BurninSubtitleBackgroundColor
-> Maybe Int
-> Maybe Natural
-> Maybe Natural
-> Maybe BurninSubtitleTeletextSpacing
-> Maybe FontScript
-> Maybe BurninSubtitleAlignment
-> Maybe Natural
-> Maybe BurninSubtitleApplyFontColor
-> Maybe BurnInSubtitleStylePassthrough
-> Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Int)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"shadowYOffset")
Parser
(Maybe Natural
-> Maybe Natural
-> Maybe BurninSubtitleBackgroundColor
-> Maybe Int
-> Maybe Natural
-> Maybe Natural
-> Maybe BurninSubtitleTeletextSpacing
-> Maybe FontScript
-> Maybe BurninSubtitleAlignment
-> Maybe Natural
-> Maybe BurninSubtitleApplyFontColor
-> Maybe BurnInSubtitleStylePassthrough
-> Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
-> Parser (Maybe Natural)
-> Parser
(Maybe Natural
-> Maybe BurninSubtitleBackgroundColor
-> Maybe Int
-> Maybe Natural
-> Maybe Natural
-> Maybe BurninSubtitleTeletextSpacing
-> Maybe FontScript
-> Maybe BurninSubtitleAlignment
-> Maybe Natural
-> Maybe BurninSubtitleApplyFontColor
-> Maybe BurnInSubtitleStylePassthrough
-> Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"fontResolution")
Parser
(Maybe Natural
-> Maybe BurninSubtitleBackgroundColor
-> Maybe Int
-> Maybe Natural
-> Maybe Natural
-> Maybe BurninSubtitleTeletextSpacing
-> Maybe FontScript
-> Maybe BurninSubtitleAlignment
-> Maybe Natural
-> Maybe BurninSubtitleApplyFontColor
-> Maybe BurnInSubtitleStylePassthrough
-> Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
-> Parser (Maybe Natural)
-> Parser
(Maybe BurninSubtitleBackgroundColor
-> Maybe Int
-> Maybe Natural
-> Maybe Natural
-> Maybe BurninSubtitleTeletextSpacing
-> Maybe FontScript
-> Maybe BurninSubtitleAlignment
-> Maybe Natural
-> Maybe BurninSubtitleApplyFontColor
-> Maybe BurnInSubtitleStylePassthrough
-> Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"yPosition")
Parser
(Maybe BurninSubtitleBackgroundColor
-> Maybe Int
-> Maybe Natural
-> Maybe Natural
-> Maybe BurninSubtitleTeletextSpacing
-> Maybe FontScript
-> Maybe BurninSubtitleAlignment
-> Maybe Natural
-> Maybe BurninSubtitleApplyFontColor
-> Maybe BurnInSubtitleStylePassthrough
-> Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
-> Parser (Maybe BurninSubtitleBackgroundColor)
-> Parser
(Maybe Int
-> Maybe Natural
-> Maybe Natural
-> Maybe BurninSubtitleTeletextSpacing
-> Maybe FontScript
-> Maybe BurninSubtitleAlignment
-> Maybe Natural
-> Maybe BurninSubtitleApplyFontColor
-> Maybe BurnInSubtitleStylePassthrough
-> Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe BurninSubtitleBackgroundColor)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"backgroundColor")
Parser
(Maybe Int
-> Maybe Natural
-> Maybe Natural
-> Maybe BurninSubtitleTeletextSpacing
-> Maybe FontScript
-> Maybe BurninSubtitleAlignment
-> Maybe Natural
-> Maybe BurninSubtitleApplyFontColor
-> Maybe BurnInSubtitleStylePassthrough
-> Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
-> Parser (Maybe Int)
-> Parser
(Maybe Natural
-> Maybe Natural
-> Maybe BurninSubtitleTeletextSpacing
-> Maybe FontScript
-> Maybe BurninSubtitleAlignment
-> Maybe Natural
-> Maybe BurninSubtitleApplyFontColor
-> Maybe BurnInSubtitleStylePassthrough
-> Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Int)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"shadowXOffset")
Parser
(Maybe Natural
-> Maybe Natural
-> Maybe BurninSubtitleTeletextSpacing
-> Maybe FontScript
-> Maybe BurninSubtitleAlignment
-> Maybe Natural
-> Maybe BurninSubtitleApplyFontColor
-> Maybe BurnInSubtitleStylePassthrough
-> Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
-> Parser (Maybe Natural)
-> Parser
(Maybe Natural
-> Maybe BurninSubtitleTeletextSpacing
-> Maybe FontScript
-> Maybe BurninSubtitleAlignment
-> Maybe Natural
-> Maybe BurninSubtitleApplyFontColor
-> Maybe BurnInSubtitleStylePassthrough
-> Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"fontSize")
Parser
(Maybe Natural
-> Maybe BurninSubtitleTeletextSpacing
-> Maybe FontScript
-> Maybe BurninSubtitleAlignment
-> Maybe Natural
-> Maybe BurninSubtitleApplyFontColor
-> Maybe BurnInSubtitleStylePassthrough
-> Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
-> Parser (Maybe Natural)
-> Parser
(Maybe BurninSubtitleTeletextSpacing
-> Maybe FontScript
-> Maybe BurninSubtitleAlignment
-> Maybe Natural
-> Maybe BurninSubtitleApplyFontColor
-> Maybe BurnInSubtitleStylePassthrough
-> Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"xPosition")
Parser
(Maybe BurninSubtitleTeletextSpacing
-> Maybe FontScript
-> Maybe BurninSubtitleAlignment
-> Maybe Natural
-> Maybe BurninSubtitleApplyFontColor
-> Maybe BurnInSubtitleStylePassthrough
-> Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
-> Parser (Maybe BurninSubtitleTeletextSpacing)
-> Parser
(Maybe FontScript
-> Maybe BurninSubtitleAlignment
-> Maybe Natural
-> Maybe BurninSubtitleApplyFontColor
-> Maybe BurnInSubtitleStylePassthrough
-> Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe BurninSubtitleTeletextSpacing)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"teletextSpacing")
Parser
(Maybe FontScript
-> Maybe BurninSubtitleAlignment
-> Maybe Natural
-> Maybe BurninSubtitleApplyFontColor
-> Maybe BurnInSubtitleStylePassthrough
-> Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
-> Parser (Maybe FontScript)
-> Parser
(Maybe BurninSubtitleAlignment
-> Maybe Natural
-> Maybe BurninSubtitleApplyFontColor
-> Maybe BurnInSubtitleStylePassthrough
-> Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe FontScript)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"fontScript")
Parser
(Maybe BurninSubtitleAlignment
-> Maybe Natural
-> Maybe BurninSubtitleApplyFontColor
-> Maybe BurnInSubtitleStylePassthrough
-> Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
-> Parser (Maybe BurninSubtitleAlignment)
-> Parser
(Maybe Natural
-> Maybe BurninSubtitleApplyFontColor
-> Maybe BurnInSubtitleStylePassthrough
-> Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe BurninSubtitleAlignment)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"alignment")
Parser
(Maybe Natural
-> Maybe BurninSubtitleApplyFontColor
-> Maybe BurnInSubtitleStylePassthrough
-> Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
-> Parser (Maybe Natural)
-> Parser
(Maybe BurninSubtitleApplyFontColor
-> Maybe BurnInSubtitleStylePassthrough
-> Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"shadowOpacity")
Parser
(Maybe BurninSubtitleApplyFontColor
-> Maybe BurnInSubtitleStylePassthrough
-> Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
-> Parser (Maybe BurninSubtitleApplyFontColor)
-> Parser
(Maybe BurnInSubtitleStylePassthrough
-> Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe BurninSubtitleApplyFontColor)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"applyFontColor")
Parser
(Maybe BurnInSubtitleStylePassthrough
-> Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
-> Parser (Maybe BurnInSubtitleStylePassthrough)
-> Parser
(Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe BurnInSubtitleStylePassthrough)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"stylePassthrough")
Parser
(Maybe BurninSubtitleOutlineColor
-> Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
-> Parser (Maybe BurninSubtitleOutlineColor)
-> Parser
(Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe BurninSubtitleOutlineColor)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"outlineColor")
Parser
(Maybe Natural
-> Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
-> Parser (Maybe Natural)
-> Parser
(Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Natural)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"outlineSize")
Parser
(Maybe BurninSubtitleShadowColor
-> Maybe Text
-> Maybe BurninSubtitleFontColor
-> BurninDestinationSettings)
-> Parser (Maybe BurninSubtitleShadowColor)
-> Parser
(Maybe Text
-> Maybe BurninSubtitleFontColor -> BurninDestinationSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe BurninSubtitleShadowColor)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"shadowColor")
Parser
(Maybe Text
-> Maybe BurninSubtitleFontColor -> BurninDestinationSettings)
-> Parser (Maybe Text)
-> Parser
(Maybe BurninSubtitleFontColor -> BurninDestinationSettings)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe Text)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"hexFontColor")
Parser (Maybe BurninSubtitleFontColor -> BurninDestinationSettings)
-> Parser (Maybe BurninSubtitleFontColor)
-> Parser BurninDestinationSettings
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Parser (Maybe BurninSubtitleFontColor)
forall a. FromJSON a => Object -> Text -> Parser (Maybe a)
Core..:? Text
"fontColor")
)
instance Prelude.Hashable BurninDestinationSettings
instance Prelude.NFData BurninDestinationSettings
instance Core.ToJSON BurninDestinationSettings where
toJSON :: BurninDestinationSettings -> Value
toJSON BurninDestinationSettings' {Maybe Int
Maybe Natural
Maybe Text
Maybe BurnInSubtitleStylePassthrough
Maybe BurninSubtitleAlignment
Maybe BurninSubtitleApplyFontColor
Maybe BurninSubtitleBackgroundColor
Maybe BurninSubtitleFallbackFont
Maybe BurninSubtitleFontColor
Maybe BurninSubtitleOutlineColor
Maybe BurninSubtitleShadowColor
Maybe BurninSubtitleTeletextSpacing
Maybe FontScript
fontColor :: Maybe BurninSubtitleFontColor
hexFontColor :: Maybe Text
shadowColor :: Maybe BurninSubtitleShadowColor
outlineSize :: Maybe Natural
outlineColor :: Maybe BurninSubtitleOutlineColor
stylePassthrough :: Maybe BurnInSubtitleStylePassthrough
applyFontColor :: Maybe BurninSubtitleApplyFontColor
shadowOpacity :: Maybe Natural
alignment :: Maybe BurninSubtitleAlignment
fontScript :: Maybe FontScript
teletextSpacing :: Maybe BurninSubtitleTeletextSpacing
xPosition :: Maybe Natural
fontSize :: Maybe Natural
shadowXOffset :: Maybe Int
backgroundColor :: Maybe BurninSubtitleBackgroundColor
yPosition :: Maybe Natural
fontResolution :: Maybe Natural
shadowYOffset :: Maybe Int
fontOpacity :: Maybe Natural
fallbackFont :: Maybe BurninSubtitleFallbackFont
backgroundOpacity :: Maybe Natural
$sel:fontColor:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe BurninSubtitleFontColor
$sel:hexFontColor:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe Text
$sel:shadowColor:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe BurninSubtitleShadowColor
$sel:outlineSize:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe Natural
$sel:outlineColor:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe BurninSubtitleOutlineColor
$sel:stylePassthrough:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe BurnInSubtitleStylePassthrough
$sel:applyFontColor:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe BurninSubtitleApplyFontColor
$sel:shadowOpacity:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe Natural
$sel:alignment:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe BurninSubtitleAlignment
$sel:fontScript:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe FontScript
$sel:teletextSpacing:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe BurninSubtitleTeletextSpacing
$sel:xPosition:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe Natural
$sel:fontSize:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe Natural
$sel:shadowXOffset:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe Int
$sel:backgroundColor:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe BurninSubtitleBackgroundColor
$sel:yPosition:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe Natural
$sel:fontResolution:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe Natural
$sel:shadowYOffset:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe Int
$sel:fontOpacity:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe Natural
$sel:fallbackFont:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe BurninSubtitleFallbackFont
$sel:backgroundOpacity:BurninDestinationSettings' :: BurninDestinationSettings -> Maybe Natural
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"backgroundOpacity" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
backgroundOpacity,
(Text
"fallbackFont" Text -> BurninSubtitleFallbackFont -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (BurninSubtitleFallbackFont -> Pair)
-> Maybe BurninSubtitleFallbackFont -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe BurninSubtitleFallbackFont
fallbackFont,
(Text
"fontOpacity" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
fontOpacity,
(Text
"shadowYOffset" Text -> Int -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Int -> Pair) -> Maybe Int -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Int
shadowYOffset,
(Text
"fontResolution" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
fontResolution,
(Text
"yPosition" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
yPosition,
(Text
"backgroundColor" Text -> BurninSubtitleBackgroundColor -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(BurninSubtitleBackgroundColor -> Pair)
-> Maybe BurninSubtitleBackgroundColor -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe BurninSubtitleBackgroundColor
backgroundColor,
(Text
"shadowXOffset" Text -> Int -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Int -> Pair) -> Maybe Int -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Int
shadowXOffset,
(Text
"fontSize" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
fontSize,
(Text
"xPosition" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
xPosition,
(Text
"teletextSpacing" Text -> BurninSubtitleTeletextSpacing -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(BurninSubtitleTeletextSpacing -> Pair)
-> Maybe BurninSubtitleTeletextSpacing -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe BurninSubtitleTeletextSpacing
teletextSpacing,
(Text
"fontScript" Text -> FontScript -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (FontScript -> Pair) -> Maybe FontScript -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe FontScript
fontScript,
(Text
"alignment" Text -> BurninSubtitleAlignment -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (BurninSubtitleAlignment -> Pair)
-> Maybe BurninSubtitleAlignment -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe BurninSubtitleAlignment
alignment,
(Text
"shadowOpacity" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
shadowOpacity,
(Text
"applyFontColor" Text -> BurninSubtitleApplyFontColor -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(BurninSubtitleApplyFontColor -> Pair)
-> Maybe BurninSubtitleApplyFontColor -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe BurninSubtitleApplyFontColor
applyFontColor,
(Text
"stylePassthrough" Text -> BurnInSubtitleStylePassthrough -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
(BurnInSubtitleStylePassthrough -> Pair)
-> Maybe BurnInSubtitleStylePassthrough -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe BurnInSubtitleStylePassthrough
stylePassthrough,
(Text
"outlineColor" Text -> BurninSubtitleOutlineColor -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (BurninSubtitleOutlineColor -> Pair)
-> Maybe BurninSubtitleOutlineColor -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe BurninSubtitleOutlineColor
outlineColor,
(Text
"outlineSize" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
outlineSize,
(Text
"shadowColor" Text -> BurninSubtitleShadowColor -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (BurninSubtitleShadowColor -> Pair)
-> Maybe BurninSubtitleShadowColor -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe BurninSubtitleShadowColor
shadowColor,
(Text
"hexFontColor" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
hexFontColor,
(Text
"fontColor" Text -> BurninSubtitleFontColor -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (BurninSubtitleFontColor -> Pair)
-> Maybe BurninSubtitleFontColor -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe BurninSubtitleFontColor
fontColor
]
)