Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
The shadow parameters in a shadow node.
Synopsis
- newtype Shadow = Shadow (ManagedPtr Shadow)
- newZeroShadow :: MonadIO m => m Shadow
- getShadowColor :: MonadIO m => Shadow -> m RGBA
- getShadowDx :: MonadIO m => Shadow -> m Float
- setShadowDx :: MonadIO m => Shadow -> Float -> m ()
- getShadowDy :: MonadIO m => Shadow -> m Float
- setShadowDy :: MonadIO m => Shadow -> Float -> m ()
- getShadowRadius :: MonadIO m => Shadow -> m Float
- setShadowRadius :: MonadIO m => Shadow -> Float -> m ()
Exported types
Memory-managed wrapper type.
Instances
Eq Shadow Source # | |
BoxedPtr Shadow Source # | |
Defined in GI.Gsk.Structs.Shadow boxedPtrCopy :: Shadow -> IO Shadow boxedPtrFree :: Shadow -> IO () | |
CallocPtr Shadow Source # | |
Defined in GI.Gsk.Structs.Shadow boxedPtrCalloc :: IO (Ptr Shadow) | |
ManagedPtrNewtype Shadow Source # | |
Defined in GI.Gsk.Structs.Shadow toManagedPtr :: Shadow -> ManagedPtr Shadow | |
tag ~ 'AttrSet => Constructible Shadow tag Source # | |
Methods
Properties
color
the color of the shadow
getShadowColor :: MonadIO m => Shadow -> m RGBA Source #
Get the value of the “color
” field.
When overloading is enabled, this is equivalent to
get
shadow #color
dx
the horizontal offset of the shadow
getShadowDx :: MonadIO m => Shadow -> m Float Source #
Get the value of the “dx
” field.
When overloading is enabled, this is equivalent to
get
shadow #dx
setShadowDx :: MonadIO m => Shadow -> Float -> m () Source #
Set the value of the “dx
” field.
When overloading is enabled, this is equivalent to
set
shadow [ #dx:=
value ]
dy
the vertical offset of the shadow
getShadowDy :: MonadIO m => Shadow -> m Float Source #
Get the value of the “dy
” field.
When overloading is enabled, this is equivalent to
get
shadow #dy
setShadowDy :: MonadIO m => Shadow -> Float -> m () Source #
Set the value of the “dy
” field.
When overloading is enabled, this is equivalent to
set
shadow [ #dy:=
value ]
radius
the radius of the shadow
getShadowRadius :: MonadIO m => Shadow -> m Float Source #
Get the value of the “radius
” field.
When overloading is enabled, this is equivalent to
get
shadow #radius
setShadowRadius :: MonadIO m => Shadow -> Float -> m () Source #
Set the value of the “radius
” field.
When overloading is enabled, this is equivalent to
set
shadow [ #radius:=
value ]