Table of Contents

Class CommonBlock

Namespace
KernSmith.Output.Model
Assembly
KernSmith.dll

BMFont common block — metrics shared across all glyphs.

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

Constructors

CommonBlock(int, int, int, int, int, bool, int, int, int, int)

BMFont common block — metrics shared across all glyphs.

public CommonBlock(int LineHeight, int Base, int ScaleW, int ScaleH, int Pages, bool Packed = false, int AlphaChnl = 0, int RedChnl = 0, int GreenChnl = 0, int BlueChnl = 0)

Parameters

LineHeight int
Base int
ScaleW int
ScaleH int
Pages int
Packed bool
AlphaChnl int
RedChnl int
GreenChnl int
BlueChnl int

Properties

AlphaChnl

public int AlphaChnl { get; init; }

Property Value

int

Base

public int Base { get; init; }

Property Value

int

BlueChnl

public int BlueChnl { get; init; }

Property Value

int

GreenChnl

public int GreenChnl { get; init; }

Property Value

int

LineHeight

public int LineHeight { get; init; }

Property Value

int

Packed

public bool Packed { get; init; }

Property Value

bool

Pages

public int Pages { get; init; }

Property Value

int

RedChnl

public int RedChnl { get; init; }

Property Value

int

ScaleH

public int ScaleH { get; init; }

Property Value

int

ScaleW

public int ScaleW { get; init; }

Property Value

int