Skip to content

StrokeAlignment

EnumTextStudio.ThreeDTextStudio.3D
public enum StrokeAlignment

Alignment mode for the stroke (true outline) ring, relative to the source glyph silhouette. Picture a pen of width width tracing the glyph boundary — this controls which side of the boundary the pen tip lies on.

Center = 0

Stroke straddles the boundary (half inside, half outside). The glyph reads thicker than the original by width/2 on each side.

Returns

TextStudio.ThreeD.StrokeAlignment

Inside = 1

Stroke lies fully inside the original silhouette (silhouette shrinks inward by width). Preserves the original visual bounds.

Returns

TextStudio.ThreeD.StrokeAlignment

Outside = 2

Stroke lies fully outside the original silhouette (silhouette grows outward by width). Preserves the original shape exactly and adds an outer halo ring.

Returns

TextStudio.ThreeD.StrokeAlignment