Class PackResult
Result of atlas packing: glyph placements, page count, and page dimensions.
public sealed class PackResult
- Inheritance
-
PackResult
- Inherited Members
Properties
PageCount
Total number of atlas pages needed.
public required int PageCount { get; init; }
Property Value
PageHeight
Height of each page in pixels.
public required int PageHeight { get; init; }
Property Value
PageWidth
Width of each page in pixels.
public required int PageWidth { get; init; }
Property Value
Placements
Where each glyph was placed (page index and XY position).
public required IReadOnlyList<GlyphPlacement> Placements { get; init; }