Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- getWidth :: MonadDOM m => TextMetrics -> m Float
- newtype TextMetrics = TextMetrics {}
- gTypeTextMetrics :: JSM GType
Documentation
newtype TextMetrics Source #
Functions for this inteface are in JSDOM.TextMetrics.
Instances
PToJSVal TextMetrics Source # | |
Defined in JSDOM.Types pToJSVal :: TextMetrics -> JSVal # | |
PFromJSVal TextMetrics Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> TextMetrics # | |
ToJSVal TextMetrics Source # | |
Defined in JSDOM.Types toJSVal :: TextMetrics -> JSM JSVal # toJSValListOf :: [TextMetrics] -> JSM JSVal # | |
FromJSVal TextMetrics Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe TextMetrics) # fromJSValUnchecked :: JSVal -> JSM TextMetrics # fromJSValListOf :: JSVal -> JSM (Maybe [TextMetrics]) # fromJSValUncheckedListOf :: JSVal -> JSM [TextMetrics] # | |
MakeObject TextMetrics Source # | |
Defined in JSDOM.Types makeObject :: TextMetrics -> JSM Object # | |
IsGObject TextMetrics Source # | |
Defined in JSDOM.Types typeGType :: TextMetrics -> JSM GType |