HighlightHitResult Class

A highlight hit at a point and its ranges that contain the point (https://drafts.csswg.org/css-highlight-api-1/#dictdef-highlighthitresult).

public sealed class HighlightHitResult

Constructors

NameDescription
HighlightHitResult()

HighlightHitResult()

Highlights.cs
public HighlightHitResult()

No documentation is available.

Properties

NameDescription
HighlightGets the highlight.
RangesGets the ranges of the highlight that contain the point.

Highlight

Highlights.cs

Gets the highlight.

public Highlight? Highlight { get; init; }

Gets the ranges of the highlight that contain the point.

public IReadOnlyList<AbstractRange> Ranges { get; init; }