Struct HitTestMetrics
- Namespace
- PaintDotNet.DirectWrite
- Assembly
- PaintDotNet.Windows.dll
Describes the region obtained by a hit test.
public readonly struct HitTestMetrics : IEquatable<HitTestMetrics>
- Implements
- Inherited Members
Properties
- BidiLevel
The BIDI level of the text positions within the hit region.
- Height
The height of the hit region.
- IsText
true if the hit region contains text; otherwise, false.
- IsTrimmed
true if the text range is trimmed; otherwise, false.
- Left
The x-coordinate of the upper-left corner of the hit region.
- Length
The number of text positions within the hit region.
- TextPosition
The first text position within the hit region.
- Top
The y-coordinate of the upper-left corner of the hit region.
- Width
The width of the hit region.