Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data BackgroundFill
- = BackgroundFillSolid { }
- | BackgroundFillGradient {
- top_color :: Maybe Int
- bottom_color :: Maybe Int
- rotation_angle :: Maybe Int
- | BackgroundFillFreeformGradient { }
Documentation
data BackgroundFill Source #
Describes a fill of a background
BackgroundFillSolid | Describes a solid fill of a background |
BackgroundFillGradient | Describes a gradient fill of a background |
| |
BackgroundFillFreeformGradient | Describes a freeform gradient fill of a background |
Instances
FromJSON BackgroundFill Source # | |
Defined in TD.Data.BackgroundFill parseJSON :: Value -> Parser BackgroundFill # parseJSONList :: Value -> Parser [BackgroundFill] # | |
ToJSON BackgroundFill Source # | |
Defined in TD.Data.BackgroundFill toJSON :: BackgroundFill -> Value # toEncoding :: BackgroundFill -> Encoding # toJSONList :: [BackgroundFill] -> Value # toEncodingList :: [BackgroundFill] -> Encoding # | |
Show BackgroundFill Source # | |
Defined in TD.Data.BackgroundFill showsPrec :: Int -> BackgroundFill -> ShowS # show :: BackgroundFill -> String # showList :: [BackgroundFill] -> ShowS # | |
Eq BackgroundFill Source # | |
Defined in TD.Data.BackgroundFill (==) :: BackgroundFill -> BackgroundFill -> Bool # (/=) :: BackgroundFill -> BackgroundFill -> Bool # | |
ShortShow BackgroundFill Source # | |
Defined in TD.Data.BackgroundFill shortShow :: BackgroundFill -> String Source # |