ICanvasRenderingContext2DDrawFocusIfNeeded Method |
If a given element is focused, this method draws a focus ring around the current path.
Namespace: Aspose.Html.Dom.CanvasAssembly: Aspose.HTML (in Aspose.HTML.dll) Version: 20.3
Syntax void DrawFocusIfNeeded(
Element element
)
Sub DrawFocusIfNeeded (
element As Element
)
void DrawFocusIfNeeded(
Element^ element
)
abstract DrawFocusIfNeeded :
element : Element -> unit
Parameters
- element
- Type: Aspose.Html.DomElement
The element to check whether it is focused or not.
See Also