| Copyright | Will Thompson and Iñaki García Etxebarria |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
GI.Gsk.Objects.RepeatingLinearGradientNode
Contents
Description
A render node for a repeating linear gradient.
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.
Constructors
| RepeatingLinearGradientNode (ManagedPtr RepeatingLinearGradientNode) |
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
Click to display all available methods, including inherited ones
new
repeatingLinearGradientNodeNew Source #
Arguments
| :: (HasCallStack, MonadIO m) | |
| => Rect |
|
| -> Point |
|
| -> Point |
|
| -> [ColorStop] |
|
| -> m RepeatingLinearGradientNode | Returns: A new |
Creates a GskRenderNode that will create a repeating linear gradient
from the given points and color stops, and render that into the area
given by bounds.