Public Member Functions | |
def | __init__ |
def | __repr__ |
def | get_extrusion |
def | get_loc |
def | get_text |
Public Attributes | |
alignment | |
color_index | |
data | |
extrusion | |
height | |
line_space | |
loc | |
rotation | |
space | |
type | |
value | |
width | |
width_factor |
Class for objects representing dxf Mtext.
Definition at line 595 of file dxfImportObjects.py.
def draftlibs::dxfImportObjects::Mtext::__init__ | ( | self, | ||
obj | ||||
) |
Expects an entity object of type mtext as input.
Definition at line 598 of file dxfImportObjects.py.
def draftlibs::dxfImportObjects::Mtext::__repr__ | ( | self | ) |
Definition at line 703 of file dxfImportObjects.py.
def draftlibs::dxfImportObjects::Mtext::get_extrusion | ( | self, | ||
data | ||||
) |
Find the axis of extrusion. Used to get the objects Object Coordinate System (ocs).
Definition at line 687 of file dxfImportObjects.py.
def draftlibs::dxfImportObjects::Mtext::get_loc | ( | self, | ||
data | ||||
) |
Gets location for a mtext type objects. Mtext objects have only one point indicating location.
Definition at line 669 of file dxfImportObjects.py.
def draftlibs::dxfImportObjects::Mtext::get_text | ( | self, | ||
data | ||||
) |
Reconstructs mtext data from dxf codes.
Definition at line 651 of file dxfImportObjects.py.
Definition at line 608 of file dxfImportObjects.py.
Definition at line 618 of file dxfImportObjects.py.
Definition at line 603 of file dxfImportObjects.py.
Definition at line 645 of file dxfImportObjects.py.
Definition at line 606 of file dxfImportObjects.py.
Definition at line 636 of file dxfImportObjects.py.
Definition at line 644 of file dxfImportObjects.py.
Definition at line 624 of file dxfImportObjects.py.
Definition at line 612 of file dxfImportObjects.py.
Definition at line 602 of file dxfImportObjects.py.
Definition at line 609 of file dxfImportObjects.py.
Definition at line 607 of file dxfImportObjects.py.
Definition at line 630 of file dxfImportObjects.py.