Package de.xima.fc.common.text.wrap
Interface IShapingTextWrapperBuilder
- 
- All Superinterfaces:
 IShapingTextWrapperMutator<IShapingTextWrapperBuilder>
public interface IShapingTextWrapperBuilder extends IShapingTextWrapperMutator<IShapingTextWrapperBuilder>
Builder for ashapingtext wrapper.- Since:
 - 8.4.0
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ITextWrapperbuildThreadSafe()Builds a thread-safetext wrapperwith the current settings.IMutableShapingTextWrapperbuildThreadUnsafe()Builds a thread-unsafetext wrapperwith the current settings.IShapingTextWrapperBuildershaper(ITextShaper shaper)Sets thetext shaperto use for shaping the text.- 
Methods inherited from interface de.xima.fc.common.text.wrap.IShapingTextWrapperMutator
breakAnywhereIfNeeded, ellipsis, intrinsicLineHeight, lineHeight, maxHeight, maxLines, maxWidth, trimLines 
 - 
 
 - 
 
- 
- 
Method Detail
- 
buildThreadSafe
ITextWrapper buildThreadSafe()
Builds a thread-safetext wrapperwith the current settings. The returned text wrapper is thread-safe and can be used in a multi-threaded environment.- Returns:
 - The thread-safe text wrapper.
 
 
- 
buildThreadUnsafe
IMutableShapingTextWrapper buildThreadUnsafe()
Builds a thread-unsafetext wrapperwith the current settings. The returned text wrapper is not thread-safe and must be synchronized externally if needed. In exchange, it might perform better.- Returns:
 - The thread-unsafe text wrapper.
 
 
- 
shaper
IShapingTextWrapperBuilder shaper(ITextShaper shaper)
Sets thetext shaperto use for shaping the text.- Parameters:
 shaper- The text shaper to use.- Returns:
 - This builder for chaining method calls.
 
 
 - 
 
 -