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

Public Member Functions

None __init__ (self)
 
None __init__ (self, TextMeshAlignParams arg0)
 
Vector3f direction (self)
 
None direction (self, Vector3f arg1)
 
bool fontBasedSizeCalc (self)
 
None fontBasedSizeCalc (self, bool arg1)
 
float fontHeight (self)
 
None fontHeight (self, float arg1)
 
Vector2f pivotPoint (self)
 
None pivotPoint (self, Vector2f arg1)
 
MeshTriPoint startPoint (self)
 
None startPoint (self, MeshTriPoint arg1)
 
float surfaceOffset (self)
 
None surfaceOffset (self, float arg1)
 
float textMaximumMovement (self)
 
None textMaximumMovement (self, float arg1)
 
Vector3f textNormal (self)
 
None textNormal (self, Vector3f arg1)
 
- Public Member Functions inherited from meshlib.mrmeshpy.SymbolMeshParams
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)
 

Additional Inherited Members

- Static Public Attributes inherited from meshlib.mrmeshpy.SymbolMeshParams
typing MaxGeneratedFontHeight = 5.826000213623047
 

Detailed Description

Generated from:  MR::TextMeshAlignParams

Constructor & Destructor Documentation

◆ __init__() [1/2]

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

Reimplemented from meshlib.mrmeshpy.SymbolMeshParams.

◆ __init__() [2/2]

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

Reimplemented from meshlib.mrmeshpy.SymbolMeshParams.

Member Function Documentation

◆ direction() [1/2]

Vector3f meshlib.mrmeshpy.TextMeshAlignParams.direction ( self)
Direction of text

◆ direction() [2/2]

None meshlib.mrmeshpy.TextMeshAlignParams.direction ( self,
Vector3f arg1 )

◆ fontBasedSizeCalc() [1/2]

bool meshlib.mrmeshpy.TextMeshAlignParams.fontBasedSizeCalc ( self)
If true then size of each symbol will be calculated from font height, otherwise - on bounding box of the text

◆ fontBasedSizeCalc() [2/2]

None meshlib.mrmeshpy.TextMeshAlignParams.fontBasedSizeCalc ( self,
bool arg1 )

◆ fontHeight() [1/2]

float meshlib.mrmeshpy.TextMeshAlignParams.fontHeight ( self)
Font height, meters

◆ fontHeight() [2/2]

None meshlib.mrmeshpy.TextMeshAlignParams.fontHeight ( self,
float arg1 )

◆ pivotPoint() [1/2]

Vector2f meshlib.mrmeshpy.TextMeshAlignParams.pivotPoint ( self)
Position of the startPoint in a text bounding box
(0, 0) - bottom left, (0, 1) - bottom right, (0.5, 0.5) - center, (1, 1) - top right

◆ pivotPoint() [2/2]

None meshlib.mrmeshpy.TextMeshAlignParams.pivotPoint ( self,
Vector2f arg1 )

◆ startPoint() [1/2]

MeshTriPoint meshlib.mrmeshpy.TextMeshAlignParams.startPoint ( self)
Start coordinate on mesh, represent lowest left corner of text

◆ startPoint() [2/2]

None meshlib.mrmeshpy.TextMeshAlignParams.startPoint ( self,
MeshTriPoint arg1 )

◆ surfaceOffset() [1/2]

float meshlib.mrmeshpy.TextMeshAlignParams.surfaceOffset ( self)
Text mesh inside and outside offset of input mesh

◆ surfaceOffset() [2/2]

None meshlib.mrmeshpy.TextMeshAlignParams.surfaceOffset ( self,
float arg1 )

◆ textMaximumMovement() [1/2]

float meshlib.mrmeshpy.TextMeshAlignParams.textMaximumMovement ( self)
Maximum possible movement of text mesh alignment, meters

◆ textMaximumMovement() [2/2]

None meshlib.mrmeshpy.TextMeshAlignParams.textMaximumMovement ( self,
float arg1 )

◆ textNormal() [1/2]

Vector3f meshlib.mrmeshpy.TextMeshAlignParams.textNormal ( self)
Text normal to surface, if nullptr - use mesh normal at `startPoint`

◆ textNormal() [2/2]

None meshlib.mrmeshpy.TextMeshAlignParams.textNormal ( self,
Vector3f arg1 )

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