Layout.Builder.SetBreakStrategy(Int32) 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 the line break strategy.
[Android.Runtime.Register("setBreakStrategy", "(I)Landroid/text/Layout$Builder;", "", ApiSince=35)]
public Android.Text.Layout.Builder SetBreakStrategy(int breakStrategy);
[<Android.Runtime.Register("setBreakStrategy", "(I)Landroid/text/Layout$Builder;", "", ApiSince=35)>]
member this.SetBreakStrategy : int -> Android.Text.Layout.Builder
Parameters
- breakStrategy
- Int32
a break strategy for line breaking. Value is one of the following: LineBreaker.BREAK_STRATEGY_SIMPLE; LineBreaker.BREAK_STRATEGY_HIGH_QUALITY; LineBreaker.BREAK_STRATEGY_BALANCED
Returns
this builder instance. This value cannot be null.
- Attributes
Remarks
Set the line break strategy. The default value is Layout.BREAK_STRATEGY_SIMPLE.
Android reference for android.text.Layout.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.