ImageSharp/SixLabors.Fonts/Tables/UnknownTable.cs
2026-08-03 22:31:27 +02:00

24 lines
777 B
C#

// Copyright (c) Six Labors.
// Licensed under the Six Labors Split License.
namespace SixLabors.Fonts.Tables {
/// <summary>
/// Represents an unrecognized or unsupported font table.
/// Used as a placeholder when the table loader encounters a tag it has no registered parser for.
/// </summary>
internal sealed class UnknownTable : Table
{
/// <summary>
/// Initializes a new instance of the <see cref="UnknownTable"/> class.
/// </summary>
/// <param name="name">The four-byte table tag.</param>
internal UnknownTable(string name)
=> this.Name = name;
/// <summary>
/// Gets the four-byte table tag that was not recognized.
/// </summary>
public string Name { get; }
}
}