Back to API Reference
Class

OutlineModifier

Applies an outline effect by appending duplicate glyph geometry behind the face.

Remarks

All parameters come from the tag/rule parameter string. Format: <outline=dilate>, <outline=#color>, or <outline=dilate,#color>. Defaults: dilate = 0.2, color = black (#000000FF).
public bool FixedPixelSize{ get; set }

When, dilate is interpreted in fixed pixels and compensated by the glyph's gradientScale so the outline has a constant on-screen thickness independent of font size. Default — dilate scales with the glyph SDF padding.

protected override void OnEnable()
protected override void OnDestroy()
protected override void OnApply()
protected override void OnGlyphEffect()