Table of Contents

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

int

Height

The height of the hit region.

public float Height

Field Value

float

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

float

Length

The number of text positions within the hit region.

public int Length

Field Value

int

TextPosition

The first text position within the hit region.

public int TextPosition

Field Value

int

Top

The y-coordinate of the upper-left corner of the hit region.

public float Top

Field Value

float

Width

The width of the hit region.

public float Width

Field Value

float