StrokeAlignment
public enum StrokeAlignmentAlignment 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.
Fields
Section titled “Fields”
Center
Section titled “Center”Center = 0Stroke 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
Section titled “Inside”Inside = 1Stroke lies fully inside the original silhouette (silhouette
shrinks inward by width). Preserves the original visual bounds.
Returns
TextStudio.ThreeD.StrokeAlignment
Outside
Section titled “Outside”Outside = 2Stroke 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