Table of Contents

Struct HitTestPointResult

Namespace
PaintDotNet.DirectWrite
Assembly
PaintDotNet.Windows.dll
public readonly struct HitTestPointResult : IEquatable<HitTestPointResult>
Implements
Inherited Members

Properties

IsInside

An output flag that indicates whether the hit-test location is inside the text string. When FALSE, the position nearest the text's edge is returned.

IsTrailingHit

A flag that indicates whether the hit-test location is at the leading or the trailing side of the character. When the IsInside value is set to FALSE, this value is set according to the output Metrics.TextPosition value to represent the edge closest to the hit-test location.

Metrics

The output geometry fully enclosing the hit-test location. When the output IsInside value is set to FALSE, this structure represents the geometry enclosing the edge closest to the hit-test location.

Methods

Equals(HitTestPointResult)
Equals(in HitTestPointResult)
Equals(object?)
GetHashCode()

Operators

operator ==(in HitTestPointResult, in HitTestPointResult)
operator !=(in HitTestPointResult, in HitTestPointResult)