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

Public Member Functions

None __init__ (self)
 
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 mrmeshpy.SymbolMeshParams
AlignType align (self)
 
None align (self, AlignType arg1)
 
int fontDetalization (self)
 
None fontDetalization (self, int arg1)
 
pathlib.Path pathToFontFile (self)
 
None pathToFontFile (self, os.PathLike|str|bytes 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 Member Functions

None __init__ (*args, **kwargs)
 
TextMeshAlignParams operator (*args, **kwargs)
 
TextMeshAlignParams operator (*args, **kwargs)
 

Static Protected Attributes

typing _offsetof_direction = 108
 
typing _offsetof_fontBasedSizeCalc = 140
 
typing _offsetof_fontHeight = 128
 
typing _offsetof_pivotPoint = 100
 
typing _offsetof_startPoint = 88
 
typing _offsetof_surfaceOffset = 132
 
typing _offsetof_textMaximumMovement = 136
 
typing _offsetof_textNormal = 120
 
- Static Protected Attributes inherited from mrmeshpy.SymbolMeshParams
typing _offsetof_align = 48
 
typing _offsetof_fontDetalization = 32
 
typing _offsetof_pathToFontFile = 56
 
typing _offsetof_symbolsDistanceAdditionalOffset = 36
 
typing _offsetof_symbolsThicknessOffsetModifier = 44
 
typing _offsetof_text = 0
 

Additional Inherited Members

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

Detailed Description

Generated from:  MR::TextMeshAlignParams

Constructor & Destructor Documentation

◆ __init__() [1/2]

None mrmeshpy.TextMeshAlignParams.__init__ ( * args,
** kwargs )
static

Reimplemented from mrmeshpy.SymbolMeshParams.

◆ __init__() [2/2]

None mrmeshpy.TextMeshAlignParams.__init__ ( self)

Reimplemented from mrmeshpy.SymbolMeshParams.

Member Function Documentation

◆ direction() [1/2]

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

◆ direction() [2/2]

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

◆ fontBasedSizeCalc() [1/2]

bool 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 mrmeshpy.TextMeshAlignParams.fontBasedSizeCalc ( self,
bool arg1 )

◆ fontHeight() [1/2]

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

◆ fontHeight() [2/2]

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

◆ operator() [1/2]

TextMeshAlignParams mrmeshpy.TextMeshAlignParams.operator ( * args,
** kwargs )
static

Reimplemented from mrmeshpy.SymbolMeshParams.

◆ operator() [2/2]

TextMeshAlignParams mrmeshpy.TextMeshAlignParams.operator ( * args,
** kwargs )
static

Reimplemented from mrmeshpy.SymbolMeshParams.

◆ pivotPoint() [1/2]

Vector2f 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 mrmeshpy.TextMeshAlignParams.pivotPoint ( self,
Vector2f arg1 )

◆ startPoint() [1/2]

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

◆ startPoint() [2/2]

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

◆ surfaceOffset() [1/2]

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

◆ surfaceOffset() [2/2]

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

◆ textMaximumMovement() [1/2]

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

◆ textMaximumMovement() [2/2]

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

◆ textNormal() [1/2]

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

◆ textNormal() [2/2]

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

Member Data Documentation

◆ _offsetof_direction

typing mrmeshpy.TextMeshAlignParams._offsetof_direction = 108
staticprotected

◆ _offsetof_fontBasedSizeCalc

typing mrmeshpy.TextMeshAlignParams._offsetof_fontBasedSizeCalc = 140
staticprotected

◆ _offsetof_fontHeight

typing mrmeshpy.TextMeshAlignParams._offsetof_fontHeight = 128
staticprotected

◆ _offsetof_pivotPoint

typing mrmeshpy.TextMeshAlignParams._offsetof_pivotPoint = 100
staticprotected

◆ _offsetof_startPoint

typing mrmeshpy.TextMeshAlignParams._offsetof_startPoint = 88
staticprotected

◆ _offsetof_surfaceOffset

typing mrmeshpy.TextMeshAlignParams._offsetof_surfaceOffset = 132
staticprotected

◆ _offsetof_textMaximumMovement

typing mrmeshpy.TextMeshAlignParams._offsetof_textMaximumMovement = 136
staticprotected

◆ _offsetof_textNormal

typing mrmeshpy.TextMeshAlignParams._offsetof_textNormal = 120
staticprotected

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