Back to API Reference
Struct

GlyphRect

sealed
Implements:IEquatable<GlyphRect>

Position and size of a glyph within an atlas texture.

[ctor]public GlyphRect()
public bool Equals()
public override bool Equals()
public override int GetHashCode()
public int x

Horizontal position in the atlas (pixels).

public int y

Vertical position in the atlas (pixels).

public int width

Width of the glyph region (pixels).

public int height

Height of the glyph region (pixels).

public static readonly GlyphRect zero