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

Public Member Functions

 __init__ (self, *args, **kwargs)
bool fontBasedSizeCalc (self)
float fontHeight (self)
bool periodicCurve (self)
ConstVector2f pivotBoxPoint (self)
float pivotCurveTime (self)
bool stretch (self)
float surfaceOffset (self)
ConstSymbolMeshParams symbolMesh (self)

Static Protected Attributes

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__()

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

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

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

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstBendTextAlongCurveParams, symbolMesh: meshlib.mrmeshpy.ConstSymbolMeshParams, pivotCurveTime: float, pivotBoxPoint: meshlib.mrmeshpy.ConstVector2f, fontHeight: float, surfaceOffset: float, fontBasedSizeCalc: bool, periodicCurve: bool, stretch: bool) -> None

Implicit aggregate constructor.

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

Member Function Documentation

◆ fontBasedSizeCalc()

bool mrmeshpy.ConstBendTextAlongCurveParams.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.BendTextAlongCurveParams, and mrmeshpy.BendTextAlongCurveParams.

◆ fontHeight()

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

Reimplemented in mrmeshpy.BendTextAlongCurveParams, and mrmeshpy.BendTextAlongCurveParams.

◆ periodicCurve()

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

Reimplemented in mrmeshpy.BendTextAlongCurveParams, and mrmeshpy.BendTextAlongCurveParams.

◆ pivotBoxPoint()

ConstVector2f mrmeshpy.ConstBendTextAlongCurveParams.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 in mrmeshpy.BendTextAlongCurveParams, and mrmeshpy.BendTextAlongCurveParams.

◆ pivotCurveTime()

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

Reimplemented in mrmeshpy.BendTextAlongCurveParams, and mrmeshpy.BendTextAlongCurveParams.

◆ stretch()

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

Reimplemented in mrmeshpy.BendTextAlongCurveParams, and mrmeshpy.BendTextAlongCurveParams.

◆ surfaceOffset()

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

Reimplemented in mrmeshpy.BendTextAlongCurveParams, and mrmeshpy.BendTextAlongCurveParams.

◆ symbolMesh()

ConstSymbolMeshParams mrmeshpy.ConstBendTextAlongCurveParams.symbolMesh ( self)
parameters of contours to mesh conversion

Reimplemented in mrmeshpy.BendTextAlongCurveParams, and mrmeshpy.BendTextAlongCurveParams.

Member Data Documentation

◆ _offsetof_fontBasedSizeCalc

typing mrmeshpy.ConstBendTextAlongCurveParams._offsetof_fontBasedSizeCalc = 116
staticprotected

◆ _offsetof_fontHeight

typing mrmeshpy.ConstBendTextAlongCurveParams._offsetof_fontHeight = 108
staticprotected

◆ _offsetof_periodicCurve

typing mrmeshpy.ConstBendTextAlongCurveParams._offsetof_periodicCurve = 117
staticprotected

◆ _offsetof_pivotBoxPoint

typing mrmeshpy.ConstBendTextAlongCurveParams._offsetof_pivotBoxPoint = 100
staticprotected

◆ _offsetof_pivotCurveTime

typing mrmeshpy.ConstBendTextAlongCurveParams._offsetof_pivotCurveTime = 96
staticprotected

◆ _offsetof_stretch

typing mrmeshpy.ConstBendTextAlongCurveParams._offsetof_stretch = 118
staticprotected

◆ _offsetof_surfaceOffset

typing mrmeshpy.ConstBendTextAlongCurveParams._offsetof_surfaceOffset = 112
staticprotected

◆ _offsetof_symbolMesh

typing mrmeshpy.ConstBendTextAlongCurveParams._offsetof_symbolMesh = 0
staticprotected

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