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

Public Member Functions

None __init__ (self)
None __init__ (self, ConstTextMeshAlignParams arg0)
TextMeshAlignParams assign (self, ConstTextMeshAlignParams other)
Vector3f direction (self)
None direction (self, ConstVector3f arg1)
bool fontBasedSizeCalc (self)
None fontBasedSizeCalc (self, bool arg1)
float fontHeight (self)
None fontHeight (self, float arg1)
Vector2f pivotPoint (self)
None pivotPoint (self, ConstVector2f arg1)
MeshTriPoint startPoint (self)
None startPoint (self, ConstMeshTriPoint arg1)
float surfaceOffset (self)
None surfaceOffset (self, float arg1)
float textMaximumMovement (self)
None textMaximumMovement (self, float arg1)
Vector3f textNormal (self)
None textNormal (self, ConstVector3f arg1)
Public Member Functions inherited from mrmeshpy.ConstTextMeshAlignParams
 __init__ (self, *args, **kwargs)
Public Member Functions inherited from mrmeshpy.ConstSymbolMeshParams
 __init__ (self, *args, **kwargs)
Public Member Functions inherited from mrmeshpy.SymbolMeshParams
None __init__ (self)
None __init__ (self, ConstSymbolMeshParams arg0)
None __init__ (self, str text, int fontDetalization, ConstVector2f symbolsDistanceAdditionalOffset, float symbolsThicknessOffsetModifier, AlignType align, os.PathLike|str|bytes pathToFontFile)
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, ConstVector2f 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)
Static Public Member Functions inherited from mrmeshpy.SymbolMeshParams
None __init__ (*args, **kwargs)

Additional Inherited Members

Static Public Attributes inherited from mrmeshpy.ConstSymbolMeshParams
typing MaxGeneratedFontHeight = 5.826000213623047
Static Protected Attributes inherited from mrmeshpy.ConstTextMeshAlignParams
typing _offsetof_direction = 116
typing _offsetof_fontBasedSizeCalc = 148
typing _offsetof_fontHeight = 136
typing _offsetof_pivotPoint = 108
typing _offsetof_startPoint = 96
typing _offsetof_surfaceOffset = 140
typing _offsetof_textMaximumMovement = 144
typing _offsetof_textNormal = 128
Static Protected Attributes inherited from mrmeshpy.ConstSymbolMeshParams
typing _offsetof_align = 48
typing _offsetof_fontDetalization = 32
typing _offsetof_pathToFontFile = 56
typing _offsetof_symbolsDistanceAdditionalOffset = 36
typing _offsetof_symbolsThicknessOffsetModifier = 44
typing _offsetof_text = 0

Detailed Description

Generated from:  MR::TextMeshAlignParams

Constructor & Destructor Documentation

◆ __init__() [1/3]

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

◆ __init__() [2/3]

None mrmeshpy.TextMeshAlignParams.__init__ ( self)

◆ __init__() [3/3]

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

Member Function Documentation

◆ assign()

TextMeshAlignParams mrmeshpy.TextMeshAlignParams.assign ( self,
ConstTextMeshAlignParams other )

Reimplemented from mrmeshpy.SymbolMeshParams.

◆ direction() [1/2]

Vector3f mrmeshpy.TextMeshAlignParams.direction ( self)
Direction of text, must be not zero

Reimplemented from mrmeshpy.ConstTextMeshAlignParams.

◆ direction() [2/2]

None mrmeshpy.TextMeshAlignParams.direction ( self,
ConstVector3f arg1 )
Direction of text, must be not zero

Reimplemented from mrmeshpy.ConstTextMeshAlignParams.

◆ 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

Reimplemented from mrmeshpy.ConstTextMeshAlignParams.

◆ fontBasedSizeCalc() [2/2]

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

Reimplemented from mrmeshpy.ConstTextMeshAlignParams.

◆ fontHeight() [1/2]

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

Reimplemented from mrmeshpy.ConstTextMeshAlignParams.

◆ fontHeight() [2/2]

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

Reimplemented from mrmeshpy.ConstTextMeshAlignParams.

◆ 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

Reimplemented from mrmeshpy.ConstTextMeshAlignParams.

◆ pivotPoint() [2/2]

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

Reimplemented from mrmeshpy.ConstTextMeshAlignParams.

◆ startPoint() [1/2]

MeshTriPoint mrmeshpy.TextMeshAlignParams.startPoint ( self)
Position on mesh, where text's pivot point is mapped

Reimplemented from mrmeshpy.ConstTextMeshAlignParams.

◆ startPoint() [2/2]

None mrmeshpy.TextMeshAlignParams.startPoint ( self,
ConstMeshTriPoint arg1 )
Position on mesh, where text's pivot point is mapped

Reimplemented from mrmeshpy.ConstTextMeshAlignParams.

◆ surfaceOffset() [1/2]

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

Reimplemented from mrmeshpy.ConstTextMeshAlignParams.

◆ surfaceOffset() [2/2]

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

Reimplemented from mrmeshpy.ConstTextMeshAlignParams.

◆ textMaximumMovement() [1/2]

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

Reimplemented from mrmeshpy.ConstTextMeshAlignParams.

◆ textMaximumMovement() [2/2]

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

Reimplemented from mrmeshpy.ConstTextMeshAlignParams.

◆ textNormal() [1/2]

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

Reimplemented from mrmeshpy.ConstTextMeshAlignParams.

◆ textNormal() [2/2]

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

Reimplemented from mrmeshpy.ConstTextMeshAlignParams.


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