DrawTextPro method
void
DrawTextPro()
Draw text using Font and pro parameters (rotation)
Implementation
void DrawTextPro(
FontD font,
String text,
Vector2D position,
Vector2D origin,
num rotation,
num fontSize,
num spacing,
ColorD tint,
) => run(
() => _debugLabels.DrawTextPro(font, text, position, origin, rotation, fontSize, spacing, tint),
() => _flat.DrawTextPro(
font,
$.String$.ValueOrNull(text),
position,
origin,
rotation.toDouble(),
fontSize.toDouble(),
spacing.toDouble(),
tint,
),
);