ICanvasRenderingContext2DDrawFocusIfNeeded Method
If a given element is focused, this method draws a focus ring around the current path.

Namespace: Aspose.Html.Dom.Canvas
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 21.3
Syntax
void DrawFocusIfNeeded(
	Element element
)

Parameters

element
Type: Aspose.Html.DomElement
The element to check whether it is focused or not.
See Also