MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.ConstSymbolMeshParams:

Public Member Functions

 __init__ (self, *args, **kwargs)
AlignType align (self)
int fontDetalization (self)
pathlib.Path pathToFontFile (self)
ConstVector2f symbolsDistanceAdditionalOffset (self)
float symbolsThicknessOffsetModifier (self)
str text (self)

Static Public Attributes

typing MaxGeneratedFontHeight = 5.826000213623047

Static Protected Attributes

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::SymbolMeshParams

Constructor & Destructor Documentation

◆ __init__()

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

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

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

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstSymbolMeshParams, text: str, fontDetalization: int, symbolsDistanceAdditionalOffset: meshlib.mrmeshpy.ConstVector2f, symbolsThicknessOffsetModifier: float, align: meshlib.mrmeshpy.AlignType, pathToFontFile: Union[os.PathLike, str, bytes]) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.ConstSymbolMeshParams, : meshlib.mrmeshpy.ConstSymbolMeshParams) -> None

Member Function Documentation

◆ align()

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

Reimplemented in mrmeshpy.SymbolMeshParams, and mrmeshpy.SymbolMeshParams.

◆ fontDetalization()

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

Reimplemented in mrmeshpy.SymbolMeshParams, and mrmeshpy.SymbolMeshParams.

◆ pathToFontFile()

pathlib.Path mrmeshpy.ConstSymbolMeshParams.pathToFontFile ( self)
Path to font file

Reimplemented in mrmeshpy.SymbolMeshParams, and mrmeshpy.SymbolMeshParams.

◆ symbolsDistanceAdditionalOffset()

ConstVector2f mrmeshpy.ConstSymbolMeshParams.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

Reimplemented in mrmeshpy.SymbolMeshParams, and mrmeshpy.SymbolMeshParams.

◆ symbolsThicknessOffsetModifier()

float mrmeshpy.ConstSymbolMeshParams.symbolsThicknessOffsetModifier ( self)
Symbols thickness will be modified by this value (newThickness = modifier*baseSymbolHeight + defaultThickness)
note: changing this to non-zero values cause costly calculations

Reimplemented in mrmeshpy.SymbolMeshParams, and mrmeshpy.SymbolMeshParams.

◆ text()

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

Reimplemented in mrmeshpy.SymbolMeshParams, and mrmeshpy.SymbolMeshParams.

Member Data Documentation

◆ _offsetof_align

typing mrmeshpy.ConstSymbolMeshParams._offsetof_align = 48
staticprotected

◆ _offsetof_fontDetalization

typing mrmeshpy.ConstSymbolMeshParams._offsetof_fontDetalization = 32
staticprotected

◆ _offsetof_pathToFontFile

typing mrmeshpy.ConstSymbolMeshParams._offsetof_pathToFontFile = 56
staticprotected

◆ _offsetof_symbolsDistanceAdditionalOffset

typing mrmeshpy.ConstSymbolMeshParams._offsetof_symbolsDistanceAdditionalOffset = 36
staticprotected

◆ _offsetof_symbolsThicknessOffsetModifier

typing mrmeshpy.ConstSymbolMeshParams._offsetof_symbolsThicknessOffsetModifier = 44
staticprotected

◆ _offsetof_text

typing mrmeshpy.ConstSymbolMeshParams._offsetof_text = 0
staticprotected

◆ MaxGeneratedFontHeight

typing mrmeshpy.ConstSymbolMeshParams.MaxGeneratedFontHeight = 5.826000213623047
static

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