mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-12-22 03:57:22 +08:00
27 lines
570 B
C#
27 lines
570 B
C#
namespace UglyToad.PdfPig.PdfFonts
|
|
{
|
|
using Core;
|
|
|
|
/// <summary>
|
|
/// Character bounding box.
|
|
/// </summary>
|
|
public sealed class CharacterBoundingBox
|
|
{
|
|
/// <summary>
|
|
/// The glyph bounds.
|
|
/// </summary>
|
|
public PdfRectangle GlyphBounds { get; }
|
|
|
|
/// <summary>
|
|
/// The width.
|
|
/// </summary>
|
|
public double Width { get; }
|
|
|
|
internal CharacterBoundingBox(PdfRectangle bounds, double width)
|
|
{
|
|
GlyphBounds = bounds;
|
|
Width = width;
|
|
}
|
|
}
|
|
}
|