Safe Haskell | None |
---|---|
Language | Haskell2010 |
Graphics.Rendering.Rect.Backgrounds
Documentation
data Backgrounds img Source #
Constructors
Backgrounds | |
Instances
Constructors
None | |
Img img | |
Linear Float [(C, Length)] | |
Radial RadialShape Extent (Length, Length) [(C, Length)] | |
Conical Float (Length, Length) [(C, Length)] |
data RadialShape Source #
Instances
Eq RadialShape Source # | |
Defined in Graphics.Rendering.Rect.CSS.Backgrounds | |
Read RadialShape Source # | |
Defined in Graphics.Rendering.Rect.CSS.Backgrounds Methods readsPrec :: Int -> ReadS RadialShape readList :: ReadS [RadialShape] readPrec :: ReadPrec RadialShape readListPrec :: ReadPrec [RadialShape] | |
Show RadialShape Source # | |
Defined in Graphics.Rendering.Rect.CSS.Backgrounds Methods showsPrec :: Int -> RadialShape -> ShowS show :: RadialShape -> String showList :: [RadialShape] -> ShowS |
Constructors
Extent Length Length | |
ClosestCorner | |
ClosestSide | |
FarthestCorner | |
FarthestSide |
resolveSize :: (Float, Float) -> (Float, Float) -> Resize -> (Float, Float) Source #
renderBackgrounds :: (MonadIO m, MonadIO n) => n (Backgrounds Texture -> Rects -> M44 Float -> m ()) Source #