Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype InsetShadowNode = InsetShadowNode (ManagedPtr InsetShadowNode)
- class (BoxedPtr o, TypedObject o, IsDescendantOf InsetShadowNode o) => IsInsetShadowNode o
- toInsetShadowNode :: (MonadIO m, IsInsetShadowNode o) => o -> m InsetShadowNode
- insetShadowNodeGetBlurRadius :: (HasCallStack, MonadIO m, IsInsetShadowNode a) => a -> m Float
- insetShadowNodeGetDx :: (HasCallStack, MonadIO m, IsInsetShadowNode a) => a -> m Float
- insetShadowNodeGetDy :: (HasCallStack, MonadIO m, IsInsetShadowNode a) => a -> m Float
- insetShadowNodeGetSpread :: (HasCallStack, MonadIO m, IsInsetShadowNode a) => a -> m Float
- insetShadowNodeNew :: (HasCallStack, MonadIO m) => RoundedRect -> RGBA -> Float -> Float -> Float -> Float -> m InsetShadowNode
- insetShadowNodePeekColor :: (HasCallStack, MonadIO m, IsInsetShadowNode a) => a -> m RGBA
- insetShadowNodePeekOutline :: (HasCallStack, MonadIO m, IsInsetShadowNode a) => a -> m RoundedRect
Exported types
newtype InsetShadowNode Source #
Memory-managed wrapper type.
Instances
Eq InsetShadowNode Source # | |
Defined in GI.Gsk.Objects.InsetShadowNode (==) :: InsetShadowNode -> InsetShadowNode -> Bool # (/=) :: InsetShadowNode -> InsetShadowNode -> Bool # | |
ManagedPtrNewtype InsetShadowNode Source # | |
Defined in GI.Gsk.Objects.InsetShadowNode | |
BoxedPtr InsetShadowNode Source # | |
Defined in GI.Gsk.Objects.InsetShadowNode boxedPtrCopy :: InsetShadowNode -> IO InsetShadowNode # boxedPtrFree :: InsetShadowNode -> IO () # | |
TypedObject InsetShadowNode Source # | |
Defined in GI.Gsk.Objects.InsetShadowNode | |
HasParentTypes InsetShadowNode Source # | |
Defined in GI.Gsk.Objects.InsetShadowNode | |
type ParentTypes InsetShadowNode Source # | |
Defined in GI.Gsk.Objects.InsetShadowNode |
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
(BoxedPtr o, TypedObject o, IsDescendantOf InsetShadowNode o) => IsInsetShadowNode o Source # | |
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 #
:: (HasCallStack, MonadIO m, IsInsetShadowNode a) | |
=> a |
|
-> m Float | Returns: the blur radius, in pixels |
Retrieves the blur radius to apply to the shadow.
getDx
:: (HasCallStack, MonadIO m, IsInsetShadowNode a) | |
=> a |
|
-> m Float | Returns: an offset, in pixels |
Retrieves the horizontal offset of the inset shadow.
getDy
:: (HasCallStack, MonadIO m, IsInsetShadowNode a) | |
=> a |
|
-> m Float | Returns: an offset, in pixels |
Retrieves the vertical offset of the inset shadow.
getSpread
insetShadowNodeGetSpread Source #
:: (HasCallStack, MonadIO m, IsInsetShadowNode a) | |
=> a |
|
-> m Float | Returns: the size of the shadow, in pixels |
Retrieves how much the shadow spreads inwards.
new
:: (HasCallStack, MonadIO m) | |
=> RoundedRect |
|
-> RGBA |
|
-> Float |
|
-> Float |
|
-> Float |
|
-> Float |
|
-> m InsetShadowNode | Returns: A new |
Creates a RenderNode
that will render an inset shadow
into the box given by outline
.
peekColor
insetShadowNodePeekColor Source #
:: (HasCallStack, MonadIO m, IsInsetShadowNode a) | |
=> a |
|
-> m RGBA | Returns: the color of the shadow |
Retrieves the color of the inset shadow.
peekOutline
insetShadowNodePeekOutline Source #
:: (HasCallStack, MonadIO m, IsInsetShadowNode a) | |
=> a |
|
-> m RoundedRect | Returns: a rounded rectangle |
Retrieves the outline rectangle of the inset shadow.