Welcome to Python-flavored Magnum! Please note that, while already being
rather stable, this functionality is still considered experimental and
some APIs might get changed without preserving full backwards compatibility.
class
AbstractShaperBase for text shapers
Methods
- def set_direction(self, direction: ShapeDirection) -> bool
- Set direction the text is meant to be shaped in
- def set_language(self, language: str) -> bool
- Set text language
- def set_script(self, script: Script) -> bool
- Set text script
Properties
- font: AbstractFont get
- Font owning this shaper instance