MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.SymbolMeshParams Class Reference
+ Inheritance diagram for meshlib.mrmeshpy.SymbolMeshParams:

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
 

Detailed Description

Generated from:  MR::SymbolMeshParams

Constructor & Destructor Documentation

◆ __init__() [1/3]

None meshlib.mrmeshpy.SymbolMeshParams.__init__ ( self)
Implicit default constructor.

Reimplemented in meshlib.mrmeshpy.TextMeshAlignParams, and meshlib.mrmeshpy.TextMeshAlignParams.

◆ __init__() [2/3]

None meshlib.mrmeshpy.SymbolMeshParams.__init__ ( self,
SymbolMeshParams arg0 )
Implicit copy constructor.

Reimplemented in meshlib.mrmeshpy.TextMeshAlignParams, and meshlib.mrmeshpy.TextMeshAlignParams.

◆ __init__() [3/3]

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.

Member Function Documentation

◆ align() [1/2]

AlignType meshlib.mrmeshpy.SymbolMeshParams.align ( self)
alignment of the text inside bbox

◆ align() [2/2]

None meshlib.mrmeshpy.SymbolMeshParams.align ( self,
AlignType arg1 )

◆ fontDetalization() [1/2]

int meshlib.mrmeshpy.SymbolMeshParams.fontDetalization ( self)
Detailization of Bezier curves on font glyphs

◆ fontDetalization() [2/2]

None meshlib.mrmeshpy.SymbolMeshParams.fontDetalization ( self,
int arg1 )

◆ pathToFontFile() [1/2]

os.PathLike meshlib.mrmeshpy.SymbolMeshParams.pathToFontFile ( self)
Path to font file

◆ pathToFontFile() [2/2]

None meshlib.mrmeshpy.SymbolMeshParams.pathToFontFile ( self,
os.PathLike arg1 )

◆ symbolsDistanceAdditionalOffset() [1/2]

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

◆ symbolsDistanceAdditionalOffset() [2/2]

None meshlib.mrmeshpy.SymbolMeshParams.symbolsDistanceAdditionalOffset ( self,
Vector2f arg1 )

◆ symbolsThicknessOffsetModifier() [1/2]

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

◆ symbolsThicknessOffsetModifier() [2/2]

None meshlib.mrmeshpy.SymbolMeshParams.symbolsThicknessOffsetModifier ( self,
float arg1 )

◆ text() [1/2]

str meshlib.mrmeshpy.SymbolMeshParams.text ( self)
Text that will be made mesh

◆ text() [2/2]

None meshlib.mrmeshpy.SymbolMeshParams.text ( self,
str arg1 )

Member Data Documentation

◆ MaxGeneratedFontHeight

typing meshlib.mrmeshpy.SymbolMeshParams.MaxGeneratedFontHeight = 5.826000213623047
static

The documentation for this class was generated from the following file: