ContourRoundingModule
public sealed class ContourRoundingModule : Module3DBase, ITextStudio3DContourModifierRounds sharp glyph-outline corners before extrusion while preserving counters and advance widths.
Methods
Section titled “Methods”
ModifyContours(ModuleContext)
Section titled “ModifyContours(ModuleContext)”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 |
Constructors
Section titled “Constructors”
ContourRoundingModule()
Section titled “ContourRoundingModule()”public ContourRoundingModule()Properties
Section titled “Properties”
Radius
Section titled “Radius”public float Radius { get; set; }Returns
System.Single
Segments
Section titled “Segments”public int Segments { get; set; }Returns
System.Int32
RequiredMeshChannels
Section titled “RequiredMeshChannels”public override TextStudio3DMeshChannels RequiredMeshChannels { get; }Returns
TextStudio.ThreeD.TextStudio3DMeshChannels
RequiresUncachedGeometry
Section titled “RequiresUncachedGeometry”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
StableHash
Section titled “StableHash”public override int StableHash { get; }Returns
System.Int32