Safe Haskell | None |
---|---|
Language | Haskell2010 |
Clay.Mask
Synopsis
- class Val a => Mask a where
- data MaskComposite
- clear :: MaskComposite
- copy :: MaskComposite
- sourceOver :: MaskComposite
- sourceIn :: MaskComposite
- sourceOut :: MaskComposite
- sourceAtop :: MaskComposite
- destinationOver :: MaskComposite
- destinationIn :: MaskComposite
- destinationOut :: MaskComposite
- destinationAtop :: MaskComposite
- xor :: MaskComposite
- maskComposite :: MaskComposite -> Css
- maskComposites :: [MaskComposite] -> Css
- maskPosition :: BackgroundPosition -> Css
- maskPositions :: [BackgroundPosition] -> Css
- maskSize :: BackgroundSize -> Css
- maskSizes :: [BackgroundSize] -> Css
- maskRepeat :: BackgroundRepeat -> Css
- maskRepeats :: [BackgroundRepeat] -> Css
- maskOrigin :: BackgroundOrigin -> Css
- maskOrigins :: [BackgroundOrigin] -> Css
- maskClip :: BackgroundClip -> Css
- maskClips :: [BackgroundClip] -> Css
- maskAttachment :: BackgroundAttachment -> Css
- maskAttachments :: [BackgroundAttachment] -> Css
- maskImage :: BackgroundImage -> Css
- maskImages :: [BackgroundImage] -> Css
Generic mask property.
We implement the generic mask property as a type class that accepts multiple value types. This allows us to combine different mask aspects into a shorthand syntax.
Minimal complete definition
Nothing
Instances
Mask BackgroundAttachment # | |
Defined in Clay.Mask Methods mask :: BackgroundAttachment -> Css # | |
Mask BackgroundClip # | |
Defined in Clay.Mask Methods mask :: BackgroundClip -> Css # | |
Mask BackgroundImage # | |
Defined in Clay.Mask Methods mask :: BackgroundImage -> Css # | |
Mask BackgroundOrigin # | |
Defined in Clay.Mask Methods mask :: BackgroundOrigin -> Css # | |
Mask BackgroundPosition # | |
Defined in Clay.Mask Methods mask :: BackgroundPosition -> Css # | |
Mask BackgroundRepeat # | |
Defined in Clay.Mask Methods mask :: BackgroundRepeat -> Css # | |
Mask BackgroundSize # | |
Defined in Clay.Mask Methods mask :: BackgroundSize -> Css # | |
Mask MaskComposite # | |
Defined in Clay.Mask Methods mask :: MaskComposite -> Css # | |
Mask a => Mask [a] # | |
(Mask a, Mask b) => Mask (a, b) # | |
The mask-composite.
data MaskComposite #
Instances
Inherit MaskComposite # | |
Defined in Clay.Mask Methods | |
None MaskComposite # | |
Defined in Clay.Mask Methods none :: MaskComposite # | |
Other MaskComposite # | |
Defined in Clay.Mask Methods other :: Value -> MaskComposite # | |
Mask MaskComposite # | |
Defined in Clay.Mask Methods mask :: MaskComposite -> Css # | |
Val MaskComposite # | |
Defined in Clay.Mask Methods value :: MaskComposite -> Value # |
clear :: MaskComposite #
copy :: MaskComposite #
xor :: MaskComposite #
maskComposite :: MaskComposite -> Css #
maskComposites :: [MaskComposite] -> Css #
The mask-position.
maskPosition :: BackgroundPosition -> Css #
maskPositions :: [BackgroundPosition] -> Css #
The mask-size.
maskSize :: BackgroundSize -> Css #
maskSizes :: [BackgroundSize] -> Css #
The mask-repeat.
maskRepeat :: BackgroundRepeat -> Css #
maskRepeats :: [BackgroundRepeat] -> Css #
The mask-origin.
maskOrigin :: BackgroundOrigin -> Css #
maskOrigins :: [BackgroundOrigin] -> Css #
The mask-clip.
maskClip :: BackgroundClip -> Css #
maskClips :: [BackgroundClip] -> Css #
The mask-attachment.
maskAttachments :: [BackgroundAttachment] -> Css #
The mask-image.
maskImage :: BackgroundImage -> Css #
maskImages :: [BackgroundImage] -> Css #