draftobjects.text.Text Class Reference
Public Member Functions | |
def | onDocumentRestored (self, obj) |
def | set_properties (self, obj) |
Public Member Functions inherited from draftobjects.draft_annotation.DraftAnnotation | |
def | execute (self, obj) |
def | onChanged (self, obj, prop) |
Additional Inherited Members | |
Public Attributes inherited from draftobjects.draft_annotation.DraftAnnotation | |
Type | |
Detailed Description
The Draft Text object.
Member Function Documentation
◆ onDocumentRestored()
def draftobjects.text.Text.onDocumentRestored | ( | self, | |
obj | |||
) |
Execute code when the document is restored. It calls the parent class to add missing annotation properties.
Reimplemented from draftobjects.draft_annotation.DraftAnnotation.
◆ set_properties()
def draftobjects.text.Text.set_properties | ( | self, | |
obj | |||
) |
Add properties to the object and set them.
The documentation for this class was generated from the following file:
- src/Mod/Draft/draftobjects/text.py