renderFocus

open fun renderFocus(    context: StyleContext,     x: <Error class: unknown class>,     y: <Error class: unknown class>,     width: <Error class: unknown class>,     height: <Error class: unknown class>)(source)

⚠️ Deprecated ⚠️

This is deprecated since version 4.10.

---

Creates a render node for the focus outline according to @context, and appends it to the current node of @snapshot, without changing the current node.

Parameters

context

the style context that defines the focus ring

x

X origin of the rectangle

y

Y origin of the rectangle

width

rectangle width

height

rectangle height