BasicTextShaperCache

BasicTextShaperCache class

Implements basic cache for ITextShaper instances. This class is thread-safe.

public sealed class BasicTextShaperCache : IDisposable, ITextShaperFactory

Constructors

NameDescription
BasicTextShaperCache(ITextShaperFactory)Wraps factory and caches GetTextShaper results.

Methods

NameDescription
Dispose()Disposes cached ITextShaper instances.

See Also