WebHitTestResult.contextIsImage

bool contextIsImage() nothrow

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.

Returns

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