// ----------------------------------------------------------------------- // // Copyright 2015 MIT Licence. See licence.md for more information. // // ----------------------------------------------------------------------- namespace Perspex.Media { /// /// Holds a hit test result from a . /// public class TextHitTestResult { /// /// Gets or sets a value indicating whether the point is inside the bounds of the text. /// public bool IsInside { get; set; } /// /// Gets the index of the hit character in the text. /// public int TextPosition { get; set; } /// /// Gets a value indicating whether the hit is on the trailing edge of the character. /// public bool IsTrailing { get; set; } } }