| 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.BlurNode
Description
A render node applying a blur effect to its single child.
Synopsis
- newtype BlurNode = BlurNode (ManagedPtr BlurNode)
- class (BoxedPtr o, TypedObject o, IsDescendantOf BlurNode o) => IsBlurNode o
- toBlurNode :: (MonadIO m, IsBlurNode o) => o -> m BlurNode
- blurNodeGetChild :: (HasCallStack, MonadIO m, IsBlurNode a) => a -> m RenderNode
- blurNodeGetRadius :: (HasCallStack, MonadIO m, IsBlurNode a) => a -> m Float
- blurNodeNew :: (HasCallStack, MonadIO m, IsRenderNode a) => a -> Float -> m BlurNode
Exported types
Memory-managed wrapper type.
Instances
| Eq BlurNode Source # | |
| BoxedPtr BlurNode Source # | |
Defined in GI.Gsk.Objects.BlurNode | |
| ManagedPtrNewtype BlurNode Source # | |
Defined in GI.Gsk.Objects.BlurNode Methods toManagedPtr :: BlurNode -> ManagedPtr BlurNode | |
| TypedObject BlurNode Source # | |
Defined in GI.Gsk.Objects.BlurNode | |
| HasParentTypes BlurNode Source # | |
Defined in GI.Gsk.Objects.BlurNode | |
| type ParentTypes BlurNode Source # | |
Defined in GI.Gsk.Objects.BlurNode | |
class (BoxedPtr o, TypedObject o, IsDescendantOf BlurNode o) => IsBlurNode o Source #
Type class for types which can be safely cast to BlurNode, for instance with toBlurNode.
Instances
| (BoxedPtr o, TypedObject o, IsDescendantOf BlurNode o) => IsBlurNode o Source # | |
Defined in GI.Gsk.Objects.BlurNode | |
toBlurNode :: (MonadIO m, IsBlurNode o) => o -> m BlurNode Source #
Methods
Click to display all available methods, including inherited ones
Methods
draw, ref, serialize, unref, writeToFile.
Getters
getBounds, getChild, getNodeType, getRadius.
Setters
None.
getChild
Arguments
| :: (HasCallStack, MonadIO m, IsBlurNode a) | |
| => a |
|
| -> m RenderNode | Returns: the blurred child node |
Retrieves the child GskRenderNode of the blur node.
getRadius
Arguments
| :: (HasCallStack, MonadIO m, IsBlurNode a) | |
| => a |
|
| -> m Float | Returns: the blur radius |
Retrieves the blur radius of the node.
new
Arguments
| :: (HasCallStack, MonadIO m, IsRenderNode a) | |
| => a |
|
| -> Float |
|
| -> m BlurNode | Returns: a new |
Creates a render node that blurs the child.