// Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
namespace Avalonia.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)
{
Length = length;
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; }
}
}