Table of Contents

Class CharEntry

Namespace
KernSmith.Output.Model
Assembly
KernSmith.dll

BMFont char entry — a single glyph's atlas position and rendering metrics.

public sealed record CharEntry : IEquatable<CharEntry>
Inheritance
CharEntry
Implements
Inherited Members

Constructors

CharEntry(int, int, int, int, int, int, int, int, int, int)

BMFont char entry — a single glyph's atlas position and rendering metrics.

public CharEntry(int Id, int X, int Y, int Width, int Height, int XOffset, int YOffset, int XAdvance, int Page, int Channel = 15)

Parameters

Id int
X int
Y int
Width int
Height int
XOffset int
YOffset int
XAdvance int
Page int
Channel int

Properties

Channel

public int Channel { get; init; }

Property Value

int

Height

public int Height { get; init; }

Property Value

int

Id

public int Id { get; init; }

Property Value

int

Page

public int Page { get; init; }

Property Value

int

Width

public int Width { get; init; }

Property Value

int

X

public int X { get; init; }

Property Value

int

XAdvance

public int XAdvance { get; init; }

Property Value

int

XOffset

public int XOffset { get; init; }

Property Value

int

Y

public int Y { get; init; }

Property Value

int

YOffset

public int YOffset { get; init; }

Property Value

int