Back to API Reference
Class

UniText.Glyph

static
public static Vector2 Center()

Gets the center of four glyph vertices stored in BL-TL-TR-BR order.

public static void Offset()

Offsets four consecutive glyph vertices in the XY plane.

public static void Rotate()

Rotates four consecutive glyph vertices around an XY pivot; positive radians turn counter-clockwise.

public static void Scale()

Scales four consecutive glyph vertices around an XY pivot.