WebHitTestResult.contextIsImage

Check whether there is an image element at the hit test position.

Checks whether webkit.types.HitTestResultContext.Image flag is present in the context flags.

class WebHitTestResult
bool
contextIsImage
()

Return Value

Type: bool

true if the hit test covers an image element or false otherwise.