DrawTextEx method
void
DrawTextEx(
- FontD font,
- MemoryPointer<
RChar> text, - Vector2D position,
- double fontSize,
- double spacing,
- ColorD tint,
override
Draw text using font and additional parameters
Implementation
@override
void DrawTextEx(
FontD font,
MemoryPointer<RChar> text,
Vector2D position,
double fontSize,
double spacing,
ColorD tint,
) => _ffi.DrawTextEx(
$.Font$.Ref1(font).asNativePointer<FontC>().ref,
text.asNativePointer(),
$.Vector2$.Ref1(position).asNativePointer<Vector2C>().ref,
fontSize,
spacing,
$.Color$.Ref1(tint).asNativePointer<ColorC>().ref,
);