| 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.OpacityNode
Description
No description available in the introspection data.
Synopsis
- newtype OpacityNode = OpacityNode (ManagedPtr OpacityNode)
- class (BoxedPtr o, TypedObject o, IsDescendantOf OpacityNode o) => IsOpacityNode o
- toOpacityNode :: (MonadIO m, IsOpacityNode o) => o -> m OpacityNode
- opacityNodeGetChild :: (HasCallStack, MonadIO m, IsOpacityNode a) => a -> m RenderNode
- opacityNodeGetOpacity :: (HasCallStack, MonadIO m, IsOpacityNode a) => a -> m Float
- opacityNodeNew :: (HasCallStack, MonadIO m, IsRenderNode a) => a -> Float -> m OpacityNode
Exported types
newtype OpacityNode Source #
Memory-managed wrapper type.
Constructors
| OpacityNode (ManagedPtr OpacityNode) |
Instances
| Eq OpacityNode Source # | |
Defined in GI.Gsk.Objects.OpacityNode | |
| ManagedPtrNewtype OpacityNode Source # | |
Defined in GI.Gsk.Objects.OpacityNode Methods | |
| BoxedPtr OpacityNode Source # | |
Defined in GI.Gsk.Objects.OpacityNode | |
| TypedObject OpacityNode Source # | |
Defined in GI.Gsk.Objects.OpacityNode | |
| HasParentTypes OpacityNode Source # | |
Defined in GI.Gsk.Objects.OpacityNode | |
| type ParentTypes OpacityNode Source # | |
Defined in GI.Gsk.Objects.OpacityNode | |
class (BoxedPtr o, TypedObject o, IsDescendantOf OpacityNode o) => IsOpacityNode o Source #
Type class for types which can be safely cast to OpacityNode, for instance with toOpacityNode.
Instances
| (BoxedPtr o, TypedObject o, IsDescendantOf OpacityNode o) => IsOpacityNode o Source # | |
Defined in GI.Gsk.Objects.OpacityNode | |
toOpacityNode :: (MonadIO m, IsOpacityNode o) => o -> m OpacityNode Source #
Cast to OpacityNode, for types for which this is known to be safe. For general casts, use castTo.
Methods
Overloaded methods
getChild
Arguments
| :: (HasCallStack, MonadIO m, IsOpacityNode a) | |
| => a |
|
| -> m RenderNode | Returns: The child that is getting opacityed |
Gets the child node that is getting opacityed by the given node.
getOpacity
opacityNodeGetOpacity Source #
Arguments
| :: (HasCallStack, MonadIO m, IsOpacityNode a) | |
| => a |
|
| -> m Float | Returns: the opacity factor |
Gets the transparency factor for an opacity node.
new
Arguments
| :: (HasCallStack, MonadIO m, IsRenderNode a) | |
| => a |
|
| -> Float |
|
| -> m OpacityNode | Returns: A new |
Creates a RenderNode that will drawn the child with reduced
opacity.