Public Member Functions | |
None | __init__ (self) |
None | __init__ (self, SymbolMeshParams arg0) |
None | __init__ (self, str text, int fontDetalization, Vector2f symbolsDistanceAdditionalOffset, float symbolsThicknessOffsetModifier, AlignType align, os.PathLike pathToFontFile) |
AlignType | align (self) |
None | align (self, AlignType arg1) |
int | fontDetalization (self) |
None | fontDetalization (self, int arg1) |
os.PathLike | pathToFontFile (self) |
None | pathToFontFile (self, os.PathLike arg1) |
Vector2f | symbolsDistanceAdditionalOffset (self) |
None | symbolsDistanceAdditionalOffset (self, Vector2f arg1) |
float | symbolsThicknessOffsetModifier (self) |
None | symbolsThicknessOffsetModifier (self, float arg1) |
str | text (self) |
None | text (self, str arg1) |
Static Public Attributes | |
typing | MaxGeneratedFontHeight = 5.826000213623047 |
Generated from: MR::SymbolMeshParams
None meshlib.mrmeshpy.SymbolMeshParams.__init__ | ( | self | ) |
Implicit default constructor.
Reimplemented in meshlib.mrmeshpy.TextMeshAlignParams, and meshlib.mrmeshpy.TextMeshAlignParams.
None meshlib.mrmeshpy.SymbolMeshParams.__init__ | ( | self, | |
SymbolMeshParams | arg0 ) |
Implicit copy constructor.
Reimplemented in meshlib.mrmeshpy.TextMeshAlignParams, and meshlib.mrmeshpy.TextMeshAlignParams.
None meshlib.mrmeshpy.SymbolMeshParams.__init__ | ( | self, | |
str | text, | ||
int | fontDetalization, | ||
Vector2f | symbolsDistanceAdditionalOffset, | ||
float | symbolsThicknessOffsetModifier, | ||
AlignType | align, | ||
os.PathLike | pathToFontFile ) |
Implicit aggregate constructor.
Reimplemented in meshlib.mrmeshpy.TextMeshAlignParams, and meshlib.mrmeshpy.TextMeshAlignParams.
AlignType meshlib.mrmeshpy.SymbolMeshParams.align | ( | self | ) |
alignment of the text inside bbox
None meshlib.mrmeshpy.SymbolMeshParams.align | ( | self, | |
AlignType | arg1 ) |
int meshlib.mrmeshpy.SymbolMeshParams.fontDetalization | ( | self | ) |
Detailization of Bezier curves on font glyphs
None meshlib.mrmeshpy.SymbolMeshParams.fontDetalization | ( | self, | |
int | arg1 ) |
os.PathLike meshlib.mrmeshpy.SymbolMeshParams.pathToFontFile | ( | self | ) |
Path to font file
None meshlib.mrmeshpy.SymbolMeshParams.pathToFontFile | ( | self, | |
os.PathLike | arg1 ) |
Vector2f meshlib.mrmeshpy.SymbolMeshParams.symbolsDistanceAdditionalOffset | ( | self | ) |
Additional offset between symbols X: In symbol size: 1.0f adds one "space", 0.5 adds half "space". Y: In symbol size: 1.0f adds one base height, 0.5 adds half base height
None meshlib.mrmeshpy.SymbolMeshParams.symbolsDistanceAdditionalOffset | ( | self, | |
Vector2f | arg1 ) |
float meshlib.mrmeshpy.SymbolMeshParams.symbolsThicknessOffsetModifier | ( | self | ) |
Symbols thickness will be modified by this value (newThickness = modifier*baseSymbolHeight + defaultThickness) note: changing this to non-zero values cause costly calculations
None meshlib.mrmeshpy.SymbolMeshParams.symbolsThicknessOffsetModifier | ( | self, | |
float | arg1 ) |
str meshlib.mrmeshpy.SymbolMeshParams.text | ( | self | ) |
Text that will be made mesh
None meshlib.mrmeshpy.SymbolMeshParams.text | ( | self, | |
str | arg1 ) |
|
static |