Struct HitTestMetrics
- Namespace
- SharpDX.DirectWrite
- Assembly
- SharpDX.Direct2D1.dll
Describes the region obtained by a hit test.
public struct HitTestMetrics
- Inherited Members
Fields
BidiLevel
The BIDI level of the text positions within the hit region.
public int BidiLevel
Field Value
Height
The height of the hit region.
public float Height
Field Value
IsText
true if the hit region contains text; otherwise, false.
public RawBool IsText
Field Value
- RawBool
IsTrimmed
true if the text range is trimmed; otherwise, false.
public RawBool IsTrimmed
Field Value
- RawBool
Left
The x-coordinate of the upper-left corner of the hit region.
public float Left
Field Value
Length
The number of text positions within the hit region.
public int Length
Field Value
TextPosition
The first text position within the hit region.
public int TextPosition
Field Value
Top
The y-coordinate of the upper-left corner of the hit region.
public float Top
Field Value
Width
The width of the hit region.
public float Width