Skip to content

FigletHorizontalOverflow

Namespace: Hex1b.Widgets

Assembly: Hex1b.dll

Specifies how a handles content that exceeds the available horizontal space.

csharp
public enum FigletHorizontalOverflow

Fields

Clip

Render the text at its natural unwrapped width. Content that exceeds the parent's width is clipped at the right edge by the surrounding layout container.

Returns: FigletHorizontalOverflow

csharp
Clip = 0

Wrap

Word-wrap input on whitespace boundaries so each rendered FIGlet block fits within the parent's width. Single words wider than the available width are emitted on their own row at natural width and fall back to clipping at the right edge.

Returns: FigletHorizontalOverflow

csharp
Wrap = 1

Remarks

FIGcharacters are typically much wider than ordinary text, so even short input strings can overflow narrow containers. Callers can either let the parent clip the rendered output or opt in to word-wrapping that produces multiple FIGlet rows.

Released under the MIT License.