manimpango.MarkupUtils

class MarkupUtils

Bases: object

Methods

text2svg

Render an SVG file from a manim.mobject.svg.text_mobject.MarkupText object.

validate

static text2svg(text, font, slant, weight, size, line_spacing, disable_liga, file_name, START_X, START_Y, width, height)

Render an SVG file from a manim.mobject.svg.text_mobject.MarkupText object.

Parameters
  • text (unicode) –

  • font (unicode) –

  • slant (unicode) –

  • weight (unicode) –

  • size (int) –

  • line_spacing (int) –

  • disable_liga (bool) –

  • file_name (unicode) –

  • START_X (int) –

  • START_Y (int) –

  • width (int) –

  • height (int) –

Return type

int