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

Description

No description available in the introspection data.

Synopsis

Exported types

class (BoxedPtr o, TypedObject o, IsDescendantOf InsetShadowNode o) => IsInsetShadowNode o Source #

Type class for types which can be safely cast to InsetShadowNode, for instance with toInsetShadowNode.

Instances

Instances details
(BoxedPtr o, TypedObject o, IsDescendantOf InsetShadowNode o) => IsInsetShadowNode o Source # 
Instance details

Defined in GI.Gsk.Objects.InsetShadowNode

toInsetShadowNode :: (MonadIO m, IsInsetShadowNode o) => o -> m InsetShadowNode Source #

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

Methods

Overloaded methods

getBlurRadius

insetShadowNodeGetBlurRadius Source #

Arguments

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

node: a RenderNode for an inset shadow

-> m Float

Returns: the blur radius, in pixels

Retrieves the blur radius to apply to the shadow.

getDx

insetShadowNodeGetDx Source #

Arguments

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

node: a RenderNode for an inset shadow

-> m Float

Returns: an offset, in pixels

Retrieves the horizontal offset of the inset shadow.

getDy

insetShadowNodeGetDy Source #

Arguments

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

node: a RenderNode for an inset shadow

-> m Float

Returns: an offset, in pixels

Retrieves the vertical offset of the inset shadow.

getSpread

insetShadowNodeGetSpread Source #

Arguments

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

node: a RenderNode for an inset shadow

-> m Float

Returns: the size of the shadow, in pixels

Retrieves how much the shadow spreads inwards.

new

insetShadowNodeNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> RoundedRect

outline: outline of the region containing the shadow

-> RGBA

color: color of the shadow

-> Float

dx: horizontal offset of shadow

-> Float

dy: vertical offset of shadow

-> Float

spread: how far the shadow spreads towards the inside

-> Float

blurRadius: how much blur to apply to the shadow

-> m InsetShadowNode

Returns: A new RenderNode

Creates a RenderNode that will render an inset shadow into the box given by outline.

peekColor

insetShadowNodePeekColor Source #

Arguments

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

node: a RenderNode for an inset shadow

-> m RGBA

Returns: the color of the shadow

Retrieves the color of the inset shadow.

peekOutline

insetShadowNodePeekOutline Source #

Arguments

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

node: a RenderNode for an inset shadow

-> m RoundedRect

Returns: a rounded rectangle

Retrieves the outline rectangle of the inset shadow.