mirror of
https://github.com/reanimate/reanimate.git
synced 2026-09-12 00:23:08 +00:00
Add documentation for 'withViewBox'.
Former-commit-id: 2797121d09679950ac35b1bd08e9c6bfbedc5267
This commit is contained in:
parent
6e53e55de4
commit
84ba78c890
3 changed files with 21 additions and 0 deletions
10
examples/doc_withViewBox.hs
Executable file
10
examples/doc_withViewBox.hs
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env stack
|
||||
-- stack runghc --package reanimate
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
module Main (main) where
|
||||
|
||||
import Reanimate
|
||||
|
||||
main :: IO ()
|
||||
main = reanimate $ animate $ const $
|
||||
withViewBox (0,0,1,1) $ mkBackground "yellow"
|
||||
Loading…
Reference in a new issue