Skip to content

StrokeInheritMode

EnumTextStudio.ThreeDTextStudio.3D
public enum StrokeInheritMode

Cascade policy controlling how a layer’s strokes relate to the previous (already-resolved) layer’s strokes. Works like CSS inheritance: Override ignores the cascade and uses only this layer’s strokes, Inherit copies the previous layer’s strokes verbatim, Augment inherits them AND appends this layer’s strokes to produce a combined list.

Override = 0

Use only this layer’s strokes array (default, and the behaviour of the first layer in any stack).

Returns

TextStudio.ThreeD.StrokeInheritMode

Inherit = 1

Copy the resolved strokes of the previous layer. This layer’s own strokes array is ignored — handy for duplicating the same outline pattern across two differently-shaped bodies.

Returns

TextStudio.ThreeD.StrokeInheritMode

Augment = 2

Inherit the previous layer’s strokes AND append this layer’s strokes to the end. Use for progressively adding outer rings along a stack — e.g. body + stroke on layer 0, then extra halo ring added on layer 1 without having to redeclare the first stroke.

Returns

TextStudio.ThreeD.StrokeInheritMode