DynamicLayout.Builder.SetBreakStrategy(BreakStrategy) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set break strategy, useful for selecting high quality or balanced paragraph layout options.
[Android.Runtime.Register("setBreakStrategy", "(I)Landroid/text/DynamicLayout$Builder;", "", ApiSince=28)]
public Android.Text.DynamicLayout.Builder SetBreakStrategy(Android.Text.BreakStrategy breakStrategy);
[<Android.Runtime.Register("setBreakStrategy", "(I)Landroid/text/DynamicLayout$Builder;", "", ApiSince=28)>]
member this.SetBreakStrategy : Android.Text.BreakStrategy -> Android.Text.DynamicLayout.Builder
Parameters
- breakStrategy
- BreakStrategy
break strategy for paragraph layout. Value is one of the following: LineBreaker.BREAK_STRATEGY_SIMPLE; LineBreaker.BREAK_STRATEGY_HIGH_QUALITY; LineBreaker.BREAK_STRATEGY_BALANCED
Returns
this builder, useful for chaining. This value cannot be null.
- Attributes
Remarks
Set break strategy, useful for selecting high quality or balanced paragraph layout options. The default is Layout.BREAK_STRATEGY_SIMPLE.
Android reference for android.text.DynamicLayout.Builder.setBreakStrategy.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.