Table of Contents

Struct StyledGlyphDefinition

Namespace
Icy.Rendering.Fonts
Assembly
IcyUI.dll

Represents an identification data for the glyph for the search in font atlas.

public readonly record struct StyledGlyphDefinition : IEquatable<StyledGlyphDefinition>
Implements
Inherited Members
Extension Methods

Constructors

StyledGlyphDefinition(int, float, FontStyle)

Represents an identification data for the glyph for the search in font atlas.

public StyledGlyphDefinition(int Codepoint, float FontSize, FontStyle Style)

Parameters

Codepoint int

The Unicode codepoint of the glyph.

FontSize float

Glyph font size in points.

Style FontStyle

Glyph font style info.

Properties

Codepoint

The Unicode codepoint of the glyph.

public int Codepoint { get; init; }

Property Value

int

FontSize

Glyph font size in points.

public float FontSize { get; init; }

Property Value

float

Style

Glyph font style info.

public FontStyle Style { get; init; }

Property Value

FontStyle