draw_focus_if_needed method
draw_focus_if_needed
If a given element is focused, this method draws a focus ring around the current path.
def draw_focus_if_needed(self, element):
...
Parameter | Type | Description |
---|---|---|
element | Element | The element to check whether it is focused or not. |
See Also
- module
aspose.html.dom.canvas
- class
ICanvasRenderingContext2D