Table of Contents

Class Glyph

Namespace
Stride.Graphics.Font
Assembly
Stride.dll

Description of a glyph (a single character)

[DataContract]
public class Glyph
Inheritance
Glyph

Fields

BitmapIndex

Index of the bitmap.

public int BitmapIndex

Field Value

int

Character

Unicode codepoint.

public int Character

Field Value

int

Offset

Layout information.

public Vector2 Offset

Field Value

Vector2

Subrect

Glyph image data (may only use a portion of a larger bitmap).

public Rectangle Subrect

Field Value

Rectangle

XAdvance

Advance X

public float XAdvance

Field Value

float