MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.BendTextAlongCurveParams Class Reference
Inheritance diagram for meshlib.BendTextAlongCurveParams:

Public Member Functions

 BendTextAlongCurveParams (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner)
 BendTextAlongCurveParams ()
 BendTextAlongCurveParams (meshlib.SymbolMeshParams symbolMesh, float pivotCurveTime, meshlib.Vector2f pivotBoxPoint, float fontHeight, float surfaceOffset, boolean fontBasedSizeCalc, boolean periodicCurve, boolean stretch)
 BendTextAlongCurveParams (meshlib.BendTextAlongCurveParams _other)
meshlib.BendTextAlongCurveParams assignFromAnother (meshlib.BendTextAlongCurveParams _other)
meshlib.SymbolMeshParams symbolMesh ()
void setSymbolMesh (meshlib.SymbolMeshParams value)
float pivotCurveTime ()
void setPivotCurveTime (float value)
meshlib.Vector2f pivotBoxPoint ()
void setPivotBoxPoint (meshlib.Vector2f value)
float fontHeight ()
void setFontHeight (float value)
float surfaceOffset ()
void setSurfaceOffset (float value)
boolean fontBasedSizeCalc ()
void setFontBasedSizeCalc (boolean value)
boolean periodicCurve ()
void setPeriodicCurve (boolean value)
boolean stretch ()
void setStretch (boolean value)
Public Member Functions inherited from meshlib.CppObject
final java.lang.foreign.MemorySegment rawPointer ()
final boolean isOwned ()
final void close ()
final java.lang.foreign.MemorySegment release ()

Additional Inherited Members

Protected Member Functions inherited from meshlib.CppObject
 CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner)

Detailed Description

Generated from class MR::BendTextAlongCurveParams.

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ BendTextAlongCurveParams() [1/4]

meshlib.BendTextAlongCurveParams.BendTextAlongCurveParams ( java.lang.foreign.MemorySegment ptr,
boolean owned,
java.lang.Object owner )

Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.

◆ BendTextAlongCurveParams() [2/4]

meshlib.BendTextAlongCurveParams.BendTextAlongCurveParams ( )

Constructs an empty (default-constructed) instance.

Calls MR_BendTextAlongCurveParams_DefaultConstruct().

◆ BendTextAlongCurveParams() [3/4]

meshlib.BendTextAlongCurveParams.BendTextAlongCurveParams ( meshlib.SymbolMeshParams symbolMesh,
float pivotCurveTime,
meshlib.Vector2f pivotBoxPoint,
float fontHeight,
float surfaceOffset,
boolean fontBasedSizeCalc,
boolean periodicCurve,
boolean stretch )

Constructs MR::BendTextAlongCurveParams elementwise. The reference to the parameter symbolMesh might be preserved in the constructed object. The reference to the parameter pivotBoxPoint might be preserved in the constructed object.

Calls MR_BendTextAlongCurveParams_ConstructFrom().

◆ BendTextAlongCurveParams() [4/4]

meshlib.BendTextAlongCurveParams.BendTextAlongCurveParams ( meshlib.BendTextAlongCurveParams _other)

Generated from constructor MR::BendTextAlongCurveParams::BendTextAlongCurveParams. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

Calls MR_BendTextAlongCurveParams_ConstructFromAnother().

Member Function Documentation

◆ assignFromAnother()

meshlib.BendTextAlongCurveParams meshlib.BendTextAlongCurveParams.assignFromAnother ( meshlib.BendTextAlongCurveParams _other)

Generated from method MR::BendTextAlongCurveParams::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.

Calls MR_BendTextAlongCurveParams_AssignFromAnother().

◆ fontBasedSizeCalc()

boolean meshlib.BendTextAlongCurveParams.fontBasedSizeCalc ( )

If true then size of each symbol will be calculated from font height, otherwise - on bounding box of the text Returns a pointer to a member variable of class MR::BendTextAlongCurveParams named fontBasedSizeCalc. The reference to this object might be preserved as the return value.

Calls MR_BendTextAlongCurveParams_Get_fontBasedSizeCalc().

◆ fontHeight()

float meshlib.BendTextAlongCurveParams.fontHeight ( )

Font height, meters Returns a pointer to a member variable of class MR::BendTextAlongCurveParams named fontHeight. The reference to this object might be preserved as the return value.

Calls MR_BendTextAlongCurveParams_Get_fontHeight().

◆ periodicCurve()

boolean meshlib.BendTextAlongCurveParams.periodicCurve ( )

if true, curve parameter will be always within [0,1) with repetition: xr := x - floor(x) Returns a pointer to a member variable of class MR::BendTextAlongCurveParams named periodicCurve. The reference to this object might be preserved as the return value.

Calls MR_BendTextAlongCurveParams_Get_periodicCurve().

◆ pivotBoxPoint()

meshlib.Vector2f meshlib.BendTextAlongCurveParams.pivotBoxPoint ( )

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 Returns a pointer to a member variable of class MR::BendTextAlongCurveParams named pivotBoxPoint. The reference to this object might be preserved as the return value.

Calls MR_BendTextAlongCurveParams_Get_pivotBoxPoint().

◆ pivotCurveTime()

float meshlib.BendTextAlongCurveParams.pivotCurveTime ( )

Position on the curve, where bounding box's pivot point is mapped Returns a pointer to a member variable of class MR::BendTextAlongCurveParams named pivotCurveTime. The reference to this object might be preserved as the return value.

Calls MR_BendTextAlongCurveParams_Get_pivotCurveTime().

◆ setFontBasedSizeCalc()

void meshlib.BendTextAlongCurveParams.setFontBasedSizeCalc ( boolean value)

If true then size of each symbol will be calculated from font height, otherwise - on bounding box of the text Modifies a member variable of class MR::BendTextAlongCurveParams named fontBasedSizeCalc.

Calls MR_BendTextAlongCurveParams_Set_fontBasedSizeCalc().

◆ setFontHeight()

void meshlib.BendTextAlongCurveParams.setFontHeight ( float value)

Font height, meters Modifies a member variable of class MR::BendTextAlongCurveParams named fontHeight.

Calls MR_BendTextAlongCurveParams_Set_fontHeight().

◆ setPeriodicCurve()

void meshlib.BendTextAlongCurveParams.setPeriodicCurve ( boolean value)

if true, curve parameter will be always within [0,1) with repetition: xr := x - floor(x) Modifies a member variable of class MR::BendTextAlongCurveParams named periodicCurve.

Calls MR_BendTextAlongCurveParams_Set_periodicCurve().

◆ setPivotBoxPoint()

void meshlib.BendTextAlongCurveParams.setPivotBoxPoint ( meshlib.Vector2f value)

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 Modifies a member variable of class MR::BendTextAlongCurveParams named pivotBoxPoint. The reference to the parameter value might be preserved in this object in element pivotBoxPoint.

Calls MR_BendTextAlongCurveParams_Set_pivotBoxPoint().

◆ setPivotCurveTime()

void meshlib.BendTextAlongCurveParams.setPivotCurveTime ( float value)

Position on the curve, where bounding box's pivot point is mapped Modifies a member variable of class MR::BendTextAlongCurveParams named pivotCurveTime.

Calls MR_BendTextAlongCurveParams_Set_pivotCurveTime().

◆ setStretch()

void meshlib.BendTextAlongCurveParams.setStretch ( boolean value)

stretch whole text along curve to fit in unit curve range Modifies a member variable of class MR::BendTextAlongCurveParams named stretch.

Calls MR_BendTextAlongCurveParams_Set_stretch().

◆ setSurfaceOffset()

void meshlib.BendTextAlongCurveParams.setSurfaceOffset ( float value)

Text mesh inside and outside offset of curve's surface Modifies a member variable of class MR::BendTextAlongCurveParams named surfaceOffset.

Calls MR_BendTextAlongCurveParams_Set_surfaceOffset().

◆ setSymbolMesh()

void meshlib.BendTextAlongCurveParams.setSymbolMesh ( meshlib.SymbolMeshParams value)

parameters of contours to mesh conversion Modifies a member variable of class MR::BendTextAlongCurveParams named symbolMesh. The reference to the parameter value might be preserved in this object in element symbolMesh.

Calls MR_BendTextAlongCurveParams_Set_symbolMesh().

◆ stretch()

boolean meshlib.BendTextAlongCurveParams.stretch ( )

stretch whole text along curve to fit in unit curve range Returns a pointer to a member variable of class MR::BendTextAlongCurveParams named stretch. The reference to this object might be preserved as the return value.

Calls MR_BendTextAlongCurveParams_Get_stretch().

◆ surfaceOffset()

float meshlib.BendTextAlongCurveParams.surfaceOffset ( )

Text mesh inside and outside offset of curve's surface Returns a pointer to a member variable of class MR::BendTextAlongCurveParams named surfaceOffset. The reference to this object might be preserved as the return value.

Calls MR_BendTextAlongCurveParams_Get_surfaceOffset().

◆ symbolMesh()

meshlib.SymbolMeshParams meshlib.BendTextAlongCurveParams.symbolMesh ( )

parameters of contours to mesh conversion Returns a pointer to a member variable of class MR::BendTextAlongCurveParams named symbolMesh. The reference to this object might be preserved as the return value.

Calls MR_BendTextAlongCurveParams_Get_symbolMesh().


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