UiCanvas

Local drawing and pointer surface. Call invalidate after changing captured drawing state.

Properties

Link copied to clipboard
var onDraw: CanvasScope.() -> Unit?
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Request repaint after changing state captured by custom drawing callbacks. Coordinates are local.

fun invalidate(bounds: Rect2i)