Raxol.UI.Components.Input.TextWrappingCached (Raxol v2.0.1)
View SourceCached version of text wrapping utilities with performance optimizations.
This module extends the basic TextWrapping functionality with caching for improved performance on repeated operations.
Summary
Functions
Initializes the cache if not already present.
Gets the visual width of text with caching.
Warms up the cache with common strings.
Wraps text by visual width with caching.
Wraps text by word boundaries with caching.
Wraps text based on pixel width and font metrics.
Functions
Initializes the cache if not already present.
Gets the visual width of text with caching.
Warms up the cache with common strings.
Wraps text by visual width with caching.
Wraps text by word boundaries with caching.
Wraps text based on pixel width and font metrics.