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