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

Description

No description available in the introspection data.

Synopsis

Exported types

class (BoxedPtr o, TypedObject o, IsDescendantOf TextureNode o) => IsTextureNode o Source #

Type class for types which can be safely cast to TextureNode, for instance with toTextureNode.

Instances

Instances details
(BoxedPtr o, TypedObject o, IsDescendantOf TextureNode o) => IsTextureNode o Source # 
Instance details

Defined in GI.Gsk.Objects.TextureNode

toTextureNode :: (MonadIO m, IsTextureNode o) => o -> m TextureNode Source #

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

Methods

Overloaded methods

getTexture

textureNodeGetTexture Source #

Arguments

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

node: a RenderNode of type RenderNodeTypeTextureNode

-> m Texture

Returns: the Texture

Retrieves the Texture used when creating this RenderNode.

new

textureNodeNew Source #

Arguments

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

texture: the Texture

-> Rect

bounds: the rectangle to render the texture into

-> m TextureNode

Returns: A new RenderNode

Creates a RenderNode that will render the given texture into the area given by bounds.