Copyright | (c) Marcin Mrotek, 2015 |
---|---|
License | BSD-3 |
Maintainer | marcin.jan.mrotek@gmail.com |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Extensions |
|
A QML object controlling the gradient object.
- data AddColourStopSignal
- addColourStopSignal :: Proxy AddColourStopSignal
- data GradientObj = GradientObj
- addColourStop :: ObjRef GradientObj -> Double -> Double -> Double -> Double -> Double -> IO ()
- newGradient :: IO (ObjRef GradientObj)
Documentation
data AddColourStopSignal Source
SignalKeyClass AddColourStopSignal Source | |
type SignalParams AddColourStopSignal = Double -> Double -> Double -> Double -> Double -> IO () Source |
:: ObjRef GradientObj | Reference to a gradient object. |
-> Double | Red channel value. |
-> Double | Green channel value. |
-> Double | Blue channel value. |
-> Double | Alpha channel value. |
-> Double | Offset channel value. |
-> IO () |
Adds a new colour stop to a gradient.
newGradient :: IO (ObjRef GradientObj) Source
Create a new gradient object.