Basics
Guides
API Reference
Basics
Guides
API Reference
[13:7] extends: object
A render node that will fill the area determined by stroking the the given [struct@Gsk.Path] using the [struct@Gsk.Stroke] attributes.
StrokeNode (child = null, path = null, stroke = null)
Creates a #GskRenderNode that will fill the outline generated by stroking the given @path using the attributes defined in @stroke. The area is filled with @child. GSK aims to follow the SVG semantics for stroking paths. E.g. zero-length contours will get round or square line caps drawn, regardless whether they are closed or not.
child is The node to stroke the area with.path is The path describing the area to stroke.stroke is The stroke attributes to use.toNativeHandle (Source)
Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from
fn.call(...), another generated wrapper exposinghandle(), or null. Returns null when the argument carries no pointer.
Source is the raw handle, raw buffer, wrapper, or null.A raw pointer carrier or null when no pointer is present.getLib ()
Returns the opened native library for this generated wrapper.
The opened native library.handle ()
Returns the wrapped NativeHandle.
The wrapped NativeHandle.isNull ()
Returns true when the wrapped handle is null.
A bool.describe ()
Returns a small string for debugging generated wrappers.
A string.asRenderNode ()
Wraps this handle as
RenderNode.
A RenderNode object.get_child ()
Gets the child node that is getting drawn by the given @node.
get_path ()
Retrieves the path that will be stroked with the contents of the @node.
get_stroke ()
Retrieves the stroke attributes used in this @node.

Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.