git.iko.soy/typeable/elm-ui
on master help sign in
Doc note that angles are given in radians, resolves #33
commit8ea670023987e8dbb025aca3bf2d8072aafbd323 authorMatthew Griffith <mdg.griffith@gmail.com> dateSat 15 Jun 2019, 08:45 (7 years ago) parent1bcc717
1 file changed+2−1
src/Element.elm+2−1
src/Element.elm+2−1
@@ -1285,7 +1285,8 @@ scale n =
12851285 Internal.TransformComponent Flag.scale (Internal.Scale ( n, n, 1 ))
12861286
12871287
1288−{-| -}
1288+{-| Angle is given in radians. [Here are some conversion functions if you want another unit.](https://package.elm-lang.org/packages/elm/core/latest/Basics#degrees)
1289+-}
12891290rotate : Float -> Attr decorative msg
12901291rotate angle =
12911292 Internal.TransformComponent Flag.rotate (Internal.Rotate ( 0, 0, 1 ) angle)