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

Description

No description available in the introspection data.

Synopsis

Exported types

class (BoxedPtr o, TypedObject o, IsDescendantOf OutsetShadowNode o) => IsOutsetShadowNode o Source #

Type class for types which can be safely cast to OutsetShadowNode, for instance with toOutsetShadowNode.

Instances

Instances details
(BoxedPtr o, TypedObject o, IsDescendantOf OutsetShadowNode o) => IsOutsetShadowNode o Source # 
Instance details

Defined in GI.Gsk.Objects.OutsetShadowNode

toOutsetShadowNode :: (MonadIO m, IsOutsetShadowNode o) => o -> m OutsetShadowNode Source #

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

Methods

Overloaded methods

getBlurRadius

outsetShadowNodeGetBlurRadius Source #

Arguments

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

node: a RenderNode for an outset shadow

-> m Float

Returns: the blur radius, in pixels

Retrieves the blur radius of the shadow.

getDx

outsetShadowNodeGetDx Source #

Arguments

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

node: a RenderNode for an outset shadow

-> m Float

Returns: an offset, in pixels

Retrieves the horizontal offset of the outset shadow.

getDy

outsetShadowNodeGetDy Source #

Arguments

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

node: a RenderNode for an outset shadow

-> m Float

Returns: an offset, in pixels

Retrieves the vertical offset of the outset shadow.

getSpread

outsetShadowNodeGetSpread Source #

Arguments

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

node: a RenderNode for an outset shadow

-> m Float

Returns: the size of the shadow, in pixels

Retrieves how much the shadow spreads outwards.

new

outsetShadowNodeNew Source #

Arguments

:: (HasCallStack, MonadIO m) 
=> RoundedRect

outline: outline of the region surrounded by 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 OutsetShadowNode

Returns: A new RenderNode

Creates a RenderNode that will render an outset shadow around the box given by outline.

peekColor

outsetShadowNodePeekColor Source #

Arguments

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

node: a RenderNode for an outset shadow

-> m RGBA

Returns: a color

Retrieves the color of the outset shadow.

peekOutline

outsetShadowNodePeekOutline Source #

Arguments

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

node: a RenderNode for an outset shadow

-> m RoundedRect

Returns: a rounded rectangle

Retrieves the outline rectangle of the outset shadow.