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

Public Member Functions

None __init__ (self)
None __init__ (self, ConstBendTextAlongCurveParams arg0)
None __init__ (self, ConstSymbolMeshParams symbolMesh, float pivotCurveTime, ConstVector2f pivotBoxPoint, float fontHeight, float surfaceOffset, bool fontBasedSizeCalc, bool periodicCurve, bool stretch)
BendTextAlongCurveParams assign (self, ConstBendTextAlongCurveParams other)
bool fontBasedSizeCalc (self)
None fontBasedSizeCalc (self, bool arg1)
float fontHeight (self)
None fontHeight (self, float arg1)
bool periodicCurve (self)
None periodicCurve (self, bool arg1)
Vector2f pivotBoxPoint (self)
None pivotBoxPoint (self, ConstVector2f 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, ConstSymbolMeshParams arg1)
Public Member Functions inherited from mrmeshpy.ConstBendTextAlongCurveParams
 __init__ (self, *args, **kwargs)

Static Public Member Functions

None __init__ (*args, **kwargs)

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstBendTextAlongCurveParams
typing _offsetof_fontBasedSizeCalc = 116
typing _offsetof_fontHeight = 108
typing _offsetof_periodicCurve = 117
typing _offsetof_pivotBoxPoint = 100
typing _offsetof_pivotCurveTime = 96
typing _offsetof_stretch = 118
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,
ConstBendTextAlongCurveParams arg0 )
Implicit copy constructor.

◆ __init__() [4/4]

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

Member Function Documentation

◆ assign()

BendTextAlongCurveParams mrmeshpy.BendTextAlongCurveParams.assign ( self,
ConstBendTextAlongCurveParams other )

◆ 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

Reimplemented from mrmeshpy.ConstBendTextAlongCurveParams.

◆ fontBasedSizeCalc() [2/2]

None mrmeshpy.BendTextAlongCurveParams.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.ConstBendTextAlongCurveParams.

◆ fontHeight() [1/2]

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

Reimplemented from mrmeshpy.ConstBendTextAlongCurveParams.

◆ fontHeight() [2/2]

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

Reimplemented from mrmeshpy.ConstBendTextAlongCurveParams.

◆ periodicCurve() [1/2]

bool mrmeshpy.BendTextAlongCurveParams.periodicCurve ( self)
if true, curve parameter will be always within [0,1) with repetition: xr := x - floor(x)

Reimplemented from mrmeshpy.ConstBendTextAlongCurveParams.

◆ periodicCurve() [2/2]

None mrmeshpy.BendTextAlongCurveParams.periodicCurve ( self,
bool arg1 )
if true, curve parameter will be always within [0,1) with repetition: xr := x - floor(x)

Reimplemented from mrmeshpy.ConstBendTextAlongCurveParams.

◆ 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

Reimplemented from mrmeshpy.ConstBendTextAlongCurveParams.

◆ pivotBoxPoint() [2/2]

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

Reimplemented from mrmeshpy.ConstBendTextAlongCurveParams.

◆ pivotCurveTime() [1/2]

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

Reimplemented from mrmeshpy.ConstBendTextAlongCurveParams.

◆ pivotCurveTime() [2/2]

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

Reimplemented from mrmeshpy.ConstBendTextAlongCurveParams.

◆ stretch() [1/2]

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

Reimplemented from mrmeshpy.ConstBendTextAlongCurveParams.

◆ stretch() [2/2]

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

Reimplemented from mrmeshpy.ConstBendTextAlongCurveParams.

◆ surfaceOffset() [1/2]

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

Reimplemented from mrmeshpy.ConstBendTextAlongCurveParams.

◆ surfaceOffset() [2/2]

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

Reimplemented from mrmeshpy.ConstBendTextAlongCurveParams.

◆ symbolMesh() [1/2]

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

Reimplemented from mrmeshpy.ConstBendTextAlongCurveParams.

◆ symbolMesh() [2/2]

None mrmeshpy.BendTextAlongCurveParams.symbolMesh ( self,
ConstSymbolMeshParams arg1 )
parameters of contours to mesh conversion

Reimplemented from mrmeshpy.ConstBendTextAlongCurveParams.


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