| 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 |
GI.Gsk.Objects.OutsetShadowNode
Description
No description available in the introspection data.
Synopsis
- newtype OutsetShadowNode = OutsetShadowNode (ManagedPtr OutsetShadowNode)
- class (BoxedPtr o, TypedObject o, IsDescendantOf OutsetShadowNode o) => IsOutsetShadowNode o
- toOutsetShadowNode :: (MonadIO m, IsOutsetShadowNode o) => o -> m OutsetShadowNode
- outsetShadowNodeGetBlurRadius :: (HasCallStack, MonadIO m, IsOutsetShadowNode a) => a -> m Float
- outsetShadowNodeGetDx :: (HasCallStack, MonadIO m, IsOutsetShadowNode a) => a -> m Float
- outsetShadowNodeGetDy :: (HasCallStack, MonadIO m, IsOutsetShadowNode a) => a -> m Float
- outsetShadowNodeGetSpread :: (HasCallStack, MonadIO m, IsOutsetShadowNode a) => a -> m Float
- outsetShadowNodeNew :: (HasCallStack, MonadIO m) => RoundedRect -> RGBA -> Float -> Float -> Float -> Float -> m OutsetShadowNode
- outsetShadowNodePeekColor :: (HasCallStack, MonadIO m, IsOutsetShadowNode a) => a -> m RGBA
- outsetShadowNodePeekOutline :: (HasCallStack, MonadIO m, IsOutsetShadowNode a) => a -> m RoundedRect
Exported types
newtype OutsetShadowNode Source #
Memory-managed wrapper type.
Constructors
| OutsetShadowNode (ManagedPtr OutsetShadowNode) |
Instances
| Eq OutsetShadowNode Source # | |
Defined in GI.Gsk.Objects.OutsetShadowNode Methods (==) :: OutsetShadowNode -> OutsetShadowNode -> Bool # (/=) :: OutsetShadowNode -> OutsetShadowNode -> Bool # | |
| ManagedPtrNewtype OutsetShadowNode Source # | |
Defined in GI.Gsk.Objects.OutsetShadowNode Methods toManagedPtr :: OutsetShadowNode -> ManagedPtr OutsetShadowNode # | |
| BoxedPtr OutsetShadowNode Source # | |
Defined in GI.Gsk.Objects.OutsetShadowNode Methods boxedPtrCopy :: OutsetShadowNode -> IO OutsetShadowNode # boxedPtrFree :: OutsetShadowNode -> IO () # | |
| TypedObject OutsetShadowNode Source # | |
Defined in GI.Gsk.Objects.OutsetShadowNode | |
| HasParentTypes OutsetShadowNode Source # | |
Defined in GI.Gsk.Objects.OutsetShadowNode | |
| type ParentTypes OutsetShadowNode Source # | |
Defined in GI.Gsk.Objects.OutsetShadowNode | |
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
| (BoxedPtr o, TypedObject o, IsDescendantOf OutsetShadowNode o) => IsOutsetShadowNode o Source # | |
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 |
|
| -> 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 |
|
| -> 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 |
|
| -> 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 |
|
| -> m Float | Returns: the size of the shadow, in pixels |
Retrieves how much the shadow spreads outwards.
new
Arguments
| :: (HasCallStack, MonadIO m) | |
| => RoundedRect |
|
| -> RGBA |
|
| -> Float |
|
| -> Float |
|
| -> Float |
|
| -> Float |
|
| -> m OutsetShadowNode | Returns: A new |
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 |
|
| -> m RGBA | Returns: a color |
Retrieves the color of the outset shadow.
peekOutline
outsetShadowNodePeekOutline Source #
Arguments
| :: (HasCallStack, MonadIO m, IsOutsetShadowNode a) | |
| => a |
|
| -> m RoundedRect | Returns: a rounded rectangle |
Retrieves the outline rectangle of the outset shadow.