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

GI.Gsk.Objects.OpacityNode

Description

No description available in the introspection data.

Synopsis

Exported types

class (BoxedPtr o, TypedObject o, IsDescendantOf OpacityNode o) => IsOpacityNode o Source #

Type class for types which can be safely cast to OpacityNode, for instance with toOpacityNode.

Instances

Instances details
(BoxedPtr o, TypedObject o, IsDescendantOf OpacityNode o) => IsOpacityNode o Source # 
Instance details

Defined in GI.Gsk.Objects.OpacityNode

toOpacityNode :: (MonadIO m, IsOpacityNode o) => o -> m OpacityNode Source #

Cast to OpacityNode, for types for which this is known to be safe. For general casts, use castTo.

Methods

Overloaded methods

getChild

opacityNodeGetChild Source #

Arguments

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

node: a RenderNode for an opacity

-> m RenderNode

Returns: The child that is getting opacityed

Gets the child node that is getting opacityed by the given node.

getOpacity

opacityNodeGetOpacity Source #

Arguments

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

node: a RenderNode for an opacity

-> m Float

Returns: the opacity factor

Gets the transparency factor for an opacity node.

new

opacityNodeNew Source #

Arguments

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

child: The node to draw

-> Float

opacity: The opacity to apply

-> m OpacityNode

Returns: A new RenderNode

Creates a RenderNode that will drawn the child with reduced opacity.