(font: Font, text: string, pos: Vec2, size: number, spacing: number, color: Color)
| 39 | } |
| 40 | |
| 41 | export function drawTextEx(font: Font, text: string, pos: Vec2, size: number, spacing: number, color: Color): void { |
| 42 | bloom_draw_text_ex(font.handle, text as any, pos.x, pos.y, size, spacing, color.r, color.g, color.b, color.a); |
| 43 | } |
| 44 | |
| 45 | export function measureTextEx(font: Font, text: string, size: number, spacing: number): Vec2 { |
| 46 | const width = bloom_measure_text_ex(font.handle, text as any, size, spacing); |
nothing calls this directly
no test coverage detected