Back to API Reference
Class

GlyphQuad

static

Vertex-level operations on one glyph quad (4 vertices at a base index, order BL-TL-TR-BR) for modifiers that transform glyphs during onGlyph.

public static Vector2 Center()

Geometric center of the quad.

public static void Offset()
public static void Rotate()

Rotates the quad around a pivot. Positive radians rotate counter-clockwise.

public static void Scale()