Safe Haskell | None |
---|---|
Language | Haskell98 |
- 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.
class Val a => Mask a where Source #
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.
Mask BackgroundAttachment Source # | |
Mask BackgroundClip Source # | |
Mask BackgroundOrigin Source # | |
Mask BackgroundImage Source # | |
Mask BackgroundRepeat Source # | |
Mask BackgroundSize Source # | |
Mask BackgroundPosition Source # | |
Mask MaskComposite Source # | |
Mask a => Mask [a] Source # | |
(Mask a, Mask b) => Mask (a, b) Source # | |
The mask-composite.
data MaskComposite Source #
copy :: MaskComposite Source #
xor :: MaskComposite Source #
maskComposite :: MaskComposite -> Css Source #
maskComposites :: [MaskComposite] -> Css Source #
The mask-position.
maskPosition :: BackgroundPosition -> Css Source #
maskPositions :: [BackgroundPosition] -> Css Source #
The mask-size.
maskSize :: BackgroundSize -> Css Source #
maskSizes :: [BackgroundSize] -> Css Source #
The mask-repeat.
maskRepeat :: BackgroundRepeat -> Css Source #
maskRepeats :: [BackgroundRepeat] -> Css Source #
The mask-origin.
maskOrigin :: BackgroundOrigin -> Css Source #
maskOrigins :: [BackgroundOrigin] -> Css Source #
The mask-clip.
maskClip :: BackgroundClip -> Css Source #
maskClips :: [BackgroundClip] -> Css Source #
The mask-attachment.
maskAttachments :: [BackgroundAttachment] -> Css Source #
The mask-image.
maskImage :: BackgroundImage -> Css Source #
maskImages :: [BackgroundImage] -> Css Source #