Table of Contents

Class InfoBlock

Namespace
KernSmith.Output.Model
Assembly
KernSmith.dll

BMFont info block — font metadata and generation settings.

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

Constructors

InfoBlock(string, float, bool, bool, bool, bool, bool, int, string, int, Padding, Spacing, int)

BMFont info block — font metadata and generation settings.

public InfoBlock(string Face, float Size, bool Bold, bool Italic, bool Unicode, bool Smooth, bool FixedHeight, int StretchH, string Charset, int Aa, Padding Padding, Spacing Spacing, int Outline = 0)

Parameters

Face string
Size float
Bold bool
Italic bool
Unicode bool
Smooth bool
FixedHeight bool
StretchH int
Charset string
Aa int
Padding Padding
Spacing Spacing
Outline int

Properties

Aa

Anti-aliasing level.

public int Aa { get; init; }

Property Value

int

Bold

public bool Bold { get; init; }

Property Value

bool

Charset

Character set string.

public string Charset { get; init; }

Property Value

string

Face

public string Face { get; init; }

Property Value

string

FixedHeight

public bool FixedHeight { get; init; }

Property Value

bool

Italic

public bool Italic { get; init; }

Property Value

bool

Outline

Outline thickness in pixels. 0 = no outline.

public int Outline { get; init; }

Property Value

int

Padding

public Padding Padding { get; init; }

Property Value

Padding

Size

public float Size { get; init; }

Property Value

float

Smooth

public bool Smooth { get; init; }

Property Value

bool

Spacing

public Spacing Spacing { get; init; }

Property Value

Spacing

StretchH

Horizontal stretch percentage.

public int StretchH { get; init; }

Property Value

int

Unicode

public bool Unicode { get; init; }

Property Value

bool