Sideway
output.to from Sideway
Draft for Information Only

Content

Manim Text Mobject
 Codes in Text_mobject.py
  Class TextSetting(object)
   Functions
  Class Text(SVGMobject)
   Configuration
   Functions
 Source and Reference

Manim Text Mobject

The Text mobject VMobject object in Manim is defined in text_mobject.py.

Codes in Text_mobject.py

Available codes defined in manimlib.mobject.svg.text_mobject.py

image

Class TextSetting(object)

class manimlib.mobject.svg.text_mobject.TextSetting(object)version 19Dec2019

Functions

  • def __init__(self, start, end, font, slant, weight, line_num=-1)

Class Text(SVGMobject)

class manimlib.mobject.svg.text_mobject.Text(SVGMobject)version 19Dec2019

Configuration

    CONFIG = {
        # Mobject
        'color': consts.WHITE,
        'height': None,
        # Text
        'font': '',
        'gradient': None,
        'lsh': -1,
        'size': 1,
        'slant': NORMAL,
        'weight': NORMAL,
        't2c': {},
        't2f': {},
        't2g': {},
        't2s': {},
        't2w': {},
    }

Functions

  • def __init__(self, text, **config)
  • def find_indexes(self, word)
  • def full2short(self, config)
  • def set_color_by_t2c(self, t2c=None)
  • def set_color_by_t2g(self, t2g=None)
  • def str2slant(self, string)
  • def str2weight(self, string)
  • def text2hash(self)
  • def text2settings(self)
  • def text2svg(self)

Source and Reference

https://github.com/3b1b/manim19Dec2019

©sideway

ID: 200602802 Last Updated: 28/6/2020 Revision: 0

IMAGE

Home 5

Business

Management

HBR 3

Information

Recreation

Hobbies 8

Culture

Chinese 1097

English 337

Reference 67

Computer

Hardware 149

Software

Application 198

Digitization 105

Numeric 19

Programming

Web 283

Unicode 494

HTML 65

CSS 58

ASP.NET 66

OS 389

DeskTop 7

Python 17

Knowledge

Mathematics

Formulas 8

Algebra 25

Number Theory 206

Trigonometry 18

Geometry 18

Calculus 67

Complex Analysis 21

Engineering

Tables 8

Mechanical

Mechanics 1

Rigid Bodies

Statics 92

Dynamics 37

Fluid 5

Fluid Kinematics 5

Control

Process Control 1

Acoustics 19

FiniteElement 2

Physics

Electric 27

Biology 1

Geography 1


Copyright © 2000-2020 Sideway . All rights reserved Disclaimers last modified on 06 September 2019