CanvasDrawCallback
Functional interface for drawing custom 2D graphics into a CanvasWidget.
Overview
CanvasDrawCallback receives RenderContext when a CanvasWidget renders its content pass.
API
CanvasDrawCallback::draw(RenderContext)
Draw Pass
Executes custom rendering logic for the canvas widget.
| Parameter | Type | Description |
|---|---|---|
context |
RenderContext |
— |