// ----------------------------------------------------------------------- // // Copyright 2015 MIT Licence. See licence.md for more information. // // ----------------------------------------------------------------------- namespace Perspex.Media { /// /// Stores information about a line of . /// public class FormattedTextLine { /// /// Initializes a new instance of the class. /// /// The length of the line, in characters. /// The height of the line, in pixels. public FormattedTextLine(int length, double height) { this.Length = length; this.Height = height; } /// /// Gets the length of the line, in characters. /// public int Length { get; } /// /// Gets the height of the line, in pixels. /// public double Height { get; } } }