MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.BendTextAlongCurveParams Class Reference

Public Member Functions

None __init__ (self)
 
None __init__ (self, BendTextAlongCurveParams arg0)
 
None __init__ (self, SymbolMeshParams symbolMesh, float pivotCurveTime, Vector2f pivotBoxPoint, float fontHeight, float surfaceOffset, bool fontBasedSizeCalc, bool stretch)
 
bool fontBasedSizeCalc (self)
 
None fontBasedSizeCalc (self, bool arg1)
 
float fontHeight (self)
 
None fontHeight (self, float arg1)
 
Vector2f pivotBoxPoint (self)
 
None pivotBoxPoint (self, Vector2f arg1)
 
float pivotCurveTime (self)
 
None pivotCurveTime (self, float arg1)
 
bool stretch (self)
 
None stretch (self, bool arg1)
 
float surfaceOffset (self)
 
None surfaceOffset (self, float arg1)
 
SymbolMeshParams symbolMesh (self)
 
None symbolMesh (self, SymbolMeshParams arg1)
 

Static Public Member Functions

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

Static Protected Attributes

typing _offsetof_fontBasedSizeCalc = 116
 
typing _offsetof_fontHeight = 108
 
typing _offsetof_pivotBoxPoint = 100
 
typing _offsetof_pivotCurveTime = 96
 
typing _offsetof_stretch = 117
 
typing _offsetof_surfaceOffset = 112
 
typing _offsetof_symbolMesh = 0
 

Detailed Description

Generated from:  MR::BendTextAlongCurveParams

Constructor & Destructor Documentation

◆ __init__() [1/4]

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

◆ __init__() [2/4]

None mrmeshpy.BendTextAlongCurveParams.__init__ ( self)

◆ __init__() [3/4]

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

◆ __init__() [4/4]

None mrmeshpy.BendTextAlongCurveParams.__init__ ( self,
SymbolMeshParams symbolMesh,
float pivotCurveTime,
Vector2f pivotBoxPoint,
float fontHeight,
float surfaceOffset,
bool fontBasedSizeCalc,
bool stretch )
Implicit aggregate constructor.

Member Function Documentation

◆ fontBasedSizeCalc() [1/2]

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

◆ fontHeight() [1/2]

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

◆ fontHeight() [2/2]

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

◆ operator() [1/2]

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

◆ operator() [2/2]

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

◆ pivotBoxPoint() [1/2]

Vector2f mrmeshpy.BendTextAlongCurveParams.pivotBoxPoint ( self)
Position of the curve(pivotCurveTime) in the test' bounding box:
(0, 0) - bottom left, (0, 1) - bottom right, (0.5, 0.5) - center, (1, 1) - top right

◆ pivotBoxPoint() [2/2]

None mrmeshpy.BendTextAlongCurveParams.pivotBoxPoint ( self,
Vector2f arg1 )

◆ pivotCurveTime() [1/2]

float mrmeshpy.BendTextAlongCurveParams.pivotCurveTime ( self)
Position on the curve, where bounding box's pivot point is mapped

◆ pivotCurveTime() [2/2]

None mrmeshpy.BendTextAlongCurveParams.pivotCurveTime ( self,
float arg1 )

◆ stretch() [1/2]

bool mrmeshpy.BendTextAlongCurveParams.stretch ( self)
stretch whole text along curve to fit in unit curve range

◆ stretch() [2/2]

None mrmeshpy.BendTextAlongCurveParams.stretch ( self,
bool arg1 )

◆ surfaceOffset() [1/2]

float mrmeshpy.BendTextAlongCurveParams.surfaceOffset ( self)
Text mesh inside and outside offset of curve's surface

◆ surfaceOffset() [2/2]

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

◆ symbolMesh() [1/2]

SymbolMeshParams mrmeshpy.BendTextAlongCurveParams.symbolMesh ( self)
parameters of contours to mesh conversion

◆ symbolMesh() [2/2]

None mrmeshpy.BendTextAlongCurveParams.symbolMesh ( self,
SymbolMeshParams arg1 )

Member Data Documentation

◆ _offsetof_fontBasedSizeCalc

typing mrmeshpy.BendTextAlongCurveParams._offsetof_fontBasedSizeCalc = 116
staticprotected

◆ _offsetof_fontHeight

typing mrmeshpy.BendTextAlongCurveParams._offsetof_fontHeight = 108
staticprotected

◆ _offsetof_pivotBoxPoint

typing mrmeshpy.BendTextAlongCurveParams._offsetof_pivotBoxPoint = 100
staticprotected

◆ _offsetof_pivotCurveTime

typing mrmeshpy.BendTextAlongCurveParams._offsetof_pivotCurveTime = 96
staticprotected

◆ _offsetof_stretch

typing mrmeshpy.BendTextAlongCurveParams._offsetof_stretch = 117
staticprotected

◆ _offsetof_surfaceOffset

typing mrmeshpy.BendTextAlongCurveParams._offsetof_surfaceOffset = 112
staticprotected

◆ _offsetof_symbolMesh

typing mrmeshpy.BendTextAlongCurveParams._offsetof_symbolMesh = 0
staticprotected

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