SubsurfaceNode

constructor(child: RenderNode, subsurface: <Error class: unknown class>? = null)

Creates a GskRenderNode that will possibly divert the child node to a subsurface.

Note: Since subsurfaces are currently private, these nodes cannot currently be created outside of GTK. See ../gtk4/class.GraphicsOffload.html.

Return

A new GskRenderNode

Since

4.14

Parameters

child

The child to divert to a subsurface

subsurface

the subsurface to use


constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)