Skip to content

ContourRoundingModule

ClassTextStudio.ThreeDTextStudio.3D
public sealed class ContourRoundingModule : Module3DBase, ITextStudio3DContourModifier

Rounds sharp glyph-outline corners before extrusion while preserving counters and advance widths.

public void ModifyContours(ModuleContext context)

Modifies the context’s mutable contours before cap and body geometry is generated.

Parameters

Name Type
context TextStudio.ThreeD.ModuleContext

public ContourRoundingModule()

public float Radius { get; set; }

Returns

System.Single

public int Segments { get; set; }

Returns

System.Int32

public override TextStudio3DMeshChannels RequiredMeshChannels { get; }

Returns

TextStudio.ThreeD.TextStudio3DMeshChannels

public override bool RequiresUncachedGeometry { get; }

Whether this module needs isolated glyph geometry instead of shared cached buffers. Contour and post-geometry modules normally do; lifecycle-only modules normally do not.

Returns

System.Boolean

public override int StableHash { get; }

Returns

System.Int32