DrawTextPro method
void
DrawTextPro(
- FontD font,
- String text,
- Vector2D position,
- Vector2D origin,
- num rotation,
- num fontSize,
- num spacing,
- ColorD tint,
override
Implementation
@override
void DrawTextPro(
FontD font,
String text,
Vector2D position,
Vector2D origin,
num rotation,
num fontSize,
num spacing,
ColorD tint,
) => run(
() => RaylibDebugLabels.DrawTextPro(font, text, position, origin, rotation, fontSize, spacing, tint),
() => rl.Core.DrawTextPro(
rl.Temp.Font$.Ref1(font).ref,
rl.Temp.String$.ValueOrNull(text),
rl.Temp.Vector2$.Ref1(position).ref,
rl.Temp.Vector2$.Ref2(origin).ref,
rotation.toDouble(),
fontSize.toDouble(),
spacing.toDouble(),
rl.Temp.Color$.Ref1(tint).ref,
),
);