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 |
GI.Gsk.Objects.FillNode
Description
A render node filling the area given by [structgsk
.Path]
and FillRule
with the child node.
Since: 4.14
Synopsis
- newtype FillNode = FillNode (ManagedPtr FillNode)
- class (BoxedPtr o, TypedObject o, IsDescendantOf FillNode o) => IsFillNode o
- toFillNode :: (MonadIO m, IsFillNode o) => o -> m FillNode
- fillNodeGetChild :: (HasCallStack, MonadIO m, IsFillNode a) => a -> m RenderNode
- fillNodeGetFillRule :: (HasCallStack, MonadIO m, IsFillNode a) => a -> m FillRule
- fillNodeGetPath :: (HasCallStack, MonadIO m, IsFillNode a) => a -> m Path
- fillNodeNew :: (HasCallStack, MonadIO m, IsRenderNode a) => a -> Path -> FillRule -> m FillNode
Exported types
Memory-managed wrapper type.
Instances
Eq FillNode Source # | |
BoxedPtr FillNode Source # | |
Defined in GI.Gsk.Objects.FillNode | |
ManagedPtrNewtype FillNode Source # | |
Defined in GI.Gsk.Objects.FillNode Methods toManagedPtr :: FillNode -> ManagedPtr FillNode | |
TypedObject FillNode Source # | |
Defined in GI.Gsk.Objects.FillNode | |
HasParentTypes FillNode Source # | |
Defined in GI.Gsk.Objects.FillNode | |
type ParentTypes FillNode Source # | |
Defined in GI.Gsk.Objects.FillNode |
class (BoxedPtr o, TypedObject o, IsDescendantOf FillNode o) => IsFillNode o Source #
Type class for types which can be safely cast to FillNode
, for instance with toFillNode
.
Instances
(BoxedPtr o, TypedObject o, IsDescendantOf FillNode o) => IsFillNode o Source # | |
Defined in GI.Gsk.Objects.FillNode |
toFillNode :: (MonadIO m, IsFillNode o) => o -> m FillNode Source #
Methods
Click to display all available methods, including inherited ones
Methods
draw, ref, serialize, unref, writeToFile.
Getters
getBounds, getChild, getFillRule, getNodeType, getPath.
Setters
None.
getChild
Arguments
:: (HasCallStack, MonadIO m, IsFillNode a) | |
=> a |
|
-> m RenderNode | Returns: The child that is getting drawn |
Gets the child node that is getting drawn by the given node
.
Since: 4.14
getFillRule
Arguments
:: (HasCallStack, MonadIO m, IsFillNode a) | |
=> a |
|
-> m FillRule | Returns: a |
Retrieves the fill rule used to determine how the path is filled.
Since: 4.14
getPath
Arguments
:: (HasCallStack, MonadIO m, IsFillNode a) | |
=> a |
|
-> m Path | Returns: a |
Retrieves the path used to describe the area filled with the contents of
the node
.
Since: 4.14
new
Arguments
:: (HasCallStack, MonadIO m, IsRenderNode a) | |
=> a |
|
-> Path |
|
-> FillRule |
|
-> m FillNode | Returns: A new |
Creates a GskRenderNode
that will fill the child
in the area
given by path
and fillRule
.
Since: 4.14