gi-gsk-4.0.3: Gsk bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gsk.Objects.BlurNode

Description

A render node applying a blur effect to its single child.

Synopsis

Exported types

newtype BlurNode Source #

Memory-managed wrapper type.

Constructors

BlurNode (ManagedPtr BlurNode) 

Instances

Instances details
Eq BlurNode Source # 
Instance details

Defined in GI.Gsk.Objects.BlurNode

BoxedPtr BlurNode Source # 
Instance details

Defined in GI.Gsk.Objects.BlurNode

ManagedPtrNewtype BlurNode Source # 
Instance details

Defined in GI.Gsk.Objects.BlurNode

Methods

toManagedPtr :: BlurNode -> ManagedPtr BlurNode

TypedObject BlurNode Source # 
Instance details

Defined in GI.Gsk.Objects.BlurNode

Methods

glibType :: IO GType

HasParentTypes BlurNode Source # 
Instance details

Defined in GI.Gsk.Objects.BlurNode

type ParentTypes BlurNode Source # 
Instance details

Defined in GI.Gsk.Objects.BlurNode

type ParentTypes BlurNode = '[RenderNode]

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

Instances details
(BoxedPtr o, TypedObject o, IsDescendantOf BlurNode o) => IsBlurNode o Source # 
Instance details

Defined in GI.Gsk.Objects.BlurNode

toBlurNode :: (MonadIO m, IsBlurNode o) => o -> m BlurNode Source #

Cast to BlurNode, 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

Expand

Methods

draw, ref, serialize, unref, writeToFile.

Getters

getBounds, getChild, getNodeType, getRadius.

Setters

None.

getChild

blurNodeGetChild Source #

Arguments

:: (HasCallStack, MonadIO m, IsBlurNode a) 
=> a

node: a blur RenderNode

-> m RenderNode

Returns: the blurred child node

Retrieves the child RenderNode of the blur node.

getRadius

blurNodeGetRadius Source #

Arguments

:: (HasCallStack, MonadIO m, IsBlurNode a) 
=> a

node: a blur RenderNode

-> m Float

Returns: the blur radius

Retrieves the blur radius of the node.

new

blurNodeNew Source #

Arguments

:: (HasCallStack, MonadIO m, IsRenderNode a) 
=> a

child: the child node to blur

-> Float

radius: the blur radius

-> m BlurNode

Returns: a new RenderNode

Creates a render node that blurs the child.