Table of Contents

Struct Font

Namespace
MohawkGame2D
Assembly
GAME 10003 Game Development Foundations - 2D Game Template.dll

Represents a font.

public readonly record struct Font : IEquatable<Font>
Implements
Inherited Members

Remarks

Wrapper around Raylib.Font

Properties

FileName

Name of this font file.

public string FileName { get; init; }

Property Value

string

FilePath

File path of this font.

public string FilePath { get; init; }

Property Value

string

Key

Unique key identifier for this font at this size.

public string Key { get; init; }

Property Value

string

Size

Size of glyph raster in pixels.

public int Size { get; init; }

Property Value

int

Methods

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.