render method

void render(
  1. Canvas canvas,
  2. String text,
  3. Vector2 position, {
  4. Anchor anchor = Anchor.topLeft,
})

Implementation

void render(
  Canvas canvas,
  String text,
  Vector2 position, {
  Anchor anchor = Anchor.topLeft,
}) {
  format(text).render(canvas, position, anchor: anchor);
}