2013-03-02 22:07:45 +00:00
|
|
|
|
|
|
|
module Graphics.Text where
|
|
|
|
|
2013-03-05 18:06:52 +00:00
|
|
|
import Native.Graphics.Text as T
|
2013-03-02 22:07:45 +00:00
|
|
|
|
2013-03-05 18:06:52 +00:00
|
|
|
|
|
|
|
toText : String -> Text
|
|
|
|
|
|
|
|
typeface : String -> Text -> Text
|
|
|
|
href : String -> Text -> Text
|
|
|
|
height : Float -> Text -> Text
|
|
|
|
color : Color -> Text -> Text
|
|
|
|
bold : Text -> Text
|
|
|
|
italic : Text -> Text
|
|
|
|
overline : Text -> Text
|
|
|
|
underline : Text -> Text
|
|
|
|
strikeThrough : Text -> Text
|
|
|
|
|
|
|
|
justified : Text -> Element
|
|
|
|
centered : Text -> Element
|
|
|
|
righted : Text -> Element
|
|
|
|
text : Text -> Element
|
|
|
|
|
|
|
|
asText : a -> Element
|