Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype RepeatingLinearGradientNode = RepeatingLinearGradientNode (ManagedPtr RepeatingLinearGradientNode)
- class (BoxedPtr o, TypedObject o, IsDescendantOf RepeatingLinearGradientNode o) => IsRepeatingLinearGradientNode o
- toRepeatingLinearGradientNode :: (MonadIO m, IsRepeatingLinearGradientNode o) => o -> m RepeatingLinearGradientNode
- repeatingLinearGradientNodeNew :: (HasCallStack, MonadIO m) => Rect -> Point -> Point -> [ColorStop] -> m RepeatingLinearGradientNode
Exported types
newtype RepeatingLinearGradientNode Source #
Memory-managed wrapper type.
Instances
class (BoxedPtr o, TypedObject o, IsDescendantOf RepeatingLinearGradientNode o) => IsRepeatingLinearGradientNode o Source #
Type class for types which can be safely cast to RepeatingLinearGradientNode
, for instance with toRepeatingLinearGradientNode
.
Instances
toRepeatingLinearGradientNode :: (MonadIO m, IsRepeatingLinearGradientNode o) => o -> m RepeatingLinearGradientNode Source #
Cast to RepeatingLinearGradientNode
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Overloaded methods
new
repeatingLinearGradientNodeNew Source #
:: (HasCallStack, MonadIO m) | |
=> Rect |
|
-> Point |
|
-> Point |
|
-> [ColorStop] |
|
-> m RepeatingLinearGradientNode | Returns: A new |
Creates a RenderNode
that will create a repeating linear gradient
from the given points and color stops, and render that into the area
given by bounds
.