Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- newFontFace :: (MonadDOM m, ToJSString family', IsStringOrBinaryData source) => family' -> source -> Maybe FontFaceDescriptors -> m FontFace
- load :: MonadDOM m => FontFace -> m FontFace
- load_ :: MonadDOM m => FontFace -> m ()
- setFamily :: (MonadDOM m, ToJSString val) => FontFace -> val -> m ()
- getFamily :: (MonadDOM m, FromJSString result) => FontFace -> m result
- setStyle :: (MonadDOM m, ToJSString val) => FontFace -> val -> m ()
- getStyle :: (MonadDOM m, FromJSString result) => FontFace -> m result
- setWeight :: (MonadDOM m, ToJSString val) => FontFace -> val -> m ()
- getWeight :: (MonadDOM m, FromJSString result) => FontFace -> m result
- setStretch :: (MonadDOM m, ToJSString val) => FontFace -> val -> m ()
- getStretch :: (MonadDOM m, FromJSString result) => FontFace -> m result
- setUnicodeRange :: (MonadDOM m, ToJSString val) => FontFace -> val -> m ()
- getUnicodeRange :: (MonadDOM m, FromJSString result) => FontFace -> m result
- setVariant :: (MonadDOM m, ToJSString val) => FontFace -> val -> m ()
- getVariant :: (MonadDOM m, FromJSString result) => FontFace -> m result
- setFeatureSettings :: (MonadDOM m, ToJSString val) => FontFace -> val -> m ()
- getFeatureSettings :: (MonadDOM m, FromJSString result) => FontFace -> m result
- getStatus :: MonadDOM m => FontFace -> m FontFaceLoadStatus
- getLoaded :: MonadDOM m => FontFace -> m FontFace
- newtype FontFace = FontFace {
- unFontFace :: JSVal
- gTypeFontFace :: JSM GType
Documentation
newFontFace :: (MonadDOM m, ToJSString family', IsStringOrBinaryData source) => family' -> source -> Maybe FontFaceDescriptors -> m FontFace Source #
setStretch :: (MonadDOM m, ToJSString val) => FontFace -> val -> m () Source #
getStretch :: (MonadDOM m, FromJSString result) => FontFace -> m result Source #
setUnicodeRange :: (MonadDOM m, ToJSString val) => FontFace -> val -> m () Source #
getUnicodeRange :: (MonadDOM m, FromJSString result) => FontFace -> m result Source #
setVariant :: (MonadDOM m, ToJSString val) => FontFace -> val -> m () Source #
getVariant :: (MonadDOM m, FromJSString result) => FontFace -> m result Source #
setFeatureSettings :: (MonadDOM m, ToJSString val) => FontFace -> val -> m () Source #
getFeatureSettings :: (MonadDOM m, FromJSString result) => FontFace -> m result Source #
Functions for this inteface are in JSDOM.FontFace.
Instances
FromJSVal FontFace Source # | |
PFromJSVal FontFace Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> FontFace # | |
PToJSVal FontFace Source # | |
Defined in JSDOM.Types | |
ToJSVal FontFace Source # | |
MakeObject FontFace Source # | |
Defined in JSDOM.Types makeObject :: FontFace -> JSM Object # | |
IsGObject FontFace Source # | |
Defined in JSDOM.Types |
gTypeFontFace :: JSM GType Source #