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.CrossFadeNode

Description

No description available in the introspection data.

Synopsis

Exported types

class (BoxedPtr o, TypedObject o, IsDescendantOf CrossFadeNode o) => IsCrossFadeNode o Source #

Type class for types which can be safely cast to CrossFadeNode, for instance with toCrossFadeNode.

Instances

Instances details
(BoxedPtr o, TypedObject o, IsDescendantOf CrossFadeNode o) => IsCrossFadeNode o Source # 
Instance details

Defined in GI.Gsk.Objects.CrossFadeNode

toCrossFadeNode :: (MonadIO m, IsCrossFadeNode o) => o -> m CrossFadeNode Source #

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

Methods

Overloaded methods

getEndChild

crossFadeNodeGetEndChild Source #

Arguments

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

node: a cross-fading RenderNode

-> m RenderNode

Returns: a RenderNode

Retrieves the child RenderNode at the end of the cross-fade.

getProgress

crossFadeNodeGetProgress Source #

Arguments

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

node: a cross-fading RenderNode

-> m Float

Returns: the progress value, between 0 and 1

Retrieves the progress value of the cross fade.

getStartChild

crossFadeNodeGetStartChild Source #

Arguments

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

node: a cross-fading RenderNode

-> m RenderNode

Returns: a RenderNode

Retrieves the child RenderNode at the beginning of the cross-fade.

new

crossFadeNodeNew Source #

Arguments

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

start: The start node to be drawn

-> b

end: The node to be cross_fadeed onto the start node

-> Float

progress: How far the fade has progressed from start to end. The value will be clamped to the range [0 ... 1]

-> m CrossFadeNode

Returns: A new RenderNode

Creates a RenderNode that will do a cross-fade between start and end.