DrawTextEx method

  1. @override
void DrawTextEx(
  1. FontD font,
  2. MemoryPointer<RChar> text,
  3. Vector2D position,
  4. double fontSize,
  5. double spacing,
  6. 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,
);