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

Public Member Functions

 __init__ (self, *args, **kwargs)
ConstVector3f direction (self)
bool fontBasedSizeCalc (self)
float fontHeight (self)
ConstVector2f pivotPoint (self)
ConstMeshTriPoint startPoint (self)
float surfaceOffset (self)
float textMaximumMovement (self)
Vector3f textNormal (self)
Public Member Functions inherited from mrmeshpy.ConstSymbolMeshParams
 __init__ (self, *args, **kwargs)
AlignType align (self)
int fontDetalization (self)
pathlib.Path pathToFontFile (self)
ConstVector2f symbolsDistanceAdditionalOffset (self)
float symbolsThicknessOffsetModifier (self)
str text (self)

Static Protected Attributes

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

Additional Inherited Members

Static Public Attributes inherited from mrmeshpy.ConstSymbolMeshParams
typing MaxGeneratedFontHeight = 5.826000213623047

Detailed Description

Generated from:  MR::TextMeshAlignParams

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstTextMeshAlignParams.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstTextMeshAlignParams) -> None

2. __init__(self: meshlib.mrmeshpy.ConstTextMeshAlignParams, arg0: meshlib.mrmeshpy.ConstTextMeshAlignParams) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstTextMeshAlignParams, : meshlib.mrmeshpy.ConstTextMeshAlignParams) -> None

Member Function Documentation

◆ direction()

ConstVector3f mrmeshpy.ConstTextMeshAlignParams.direction ( self)
Direction of text, must be not zero

Reimplemented in mrmeshpy.TextMeshAlignParams, and mrmeshpy.TextMeshAlignParams.

◆ fontBasedSizeCalc()

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

Reimplemented in mrmeshpy.TextMeshAlignParams, and mrmeshpy.TextMeshAlignParams.

◆ fontHeight()

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

Reimplemented in mrmeshpy.TextMeshAlignParams, and mrmeshpy.TextMeshAlignParams.

◆ pivotPoint()

ConstVector2f mrmeshpy.ConstTextMeshAlignParams.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 in mrmeshpy.TextMeshAlignParams, and mrmeshpy.TextMeshAlignParams.

◆ startPoint()

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

Reimplemented in mrmeshpy.TextMeshAlignParams, and mrmeshpy.TextMeshAlignParams.

◆ surfaceOffset()

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

Reimplemented in mrmeshpy.TextMeshAlignParams, and mrmeshpy.TextMeshAlignParams.

◆ textMaximumMovement()

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

Reimplemented in mrmeshpy.TextMeshAlignParams, and mrmeshpy.TextMeshAlignParams.

◆ textNormal()

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

Reimplemented in mrmeshpy.TextMeshAlignParams, and mrmeshpy.TextMeshAlignParams.

Member Data Documentation

◆ _offsetof_direction

typing mrmeshpy.ConstTextMeshAlignParams._offsetof_direction = 116
staticprotected

◆ _offsetof_fontBasedSizeCalc

typing mrmeshpy.ConstTextMeshAlignParams._offsetof_fontBasedSizeCalc = 148
staticprotected

◆ _offsetof_fontHeight

typing mrmeshpy.ConstTextMeshAlignParams._offsetof_fontHeight = 136
staticprotected

◆ _offsetof_pivotPoint

typing mrmeshpy.ConstTextMeshAlignParams._offsetof_pivotPoint = 108
staticprotected

◆ _offsetof_startPoint

typing mrmeshpy.ConstTextMeshAlignParams._offsetof_startPoint = 96
staticprotected

◆ _offsetof_surfaceOffset

typing mrmeshpy.ConstTextMeshAlignParams._offsetof_surfaceOffset = 140
staticprotected

◆ _offsetof_textMaximumMovement

typing mrmeshpy.ConstTextMeshAlignParams._offsetof_textMaximumMovement = 144
staticprotected

◆ _offsetof_textNormal

typing mrmeshpy.ConstTextMeshAlignParams._offsetof_textNormal = 128
staticprotected

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