StaticLayout.Builder.SetLineBreakConfig(LineBreakConfig) 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 configuration.
[Android.Runtime.Register("setLineBreakConfig", "(Landroid/graphics/text/LineBreakConfig;)Landroid/text/StaticLayout$Builder;", "", ApiSince=33)]
public Android.Text.StaticLayout.Builder SetLineBreakConfig(Android.Graphics.Text.LineBreakConfig lineBreakConfig);
[<Android.Runtime.Register("setLineBreakConfig", "(Landroid/graphics/text/LineBreakConfig;)Landroid/text/StaticLayout$Builder;", "", ApiSince=33)>]
member this.SetLineBreakConfig : Android.Graphics.Text.LineBreakConfig -> Android.Text.StaticLayout.Builder
Parameters
- lineBreakConfig
- LineBreakConfig
the line break configuration for text wrapping. This value cannot be null.
Returns
this builder, useful for chaining. This value cannot be null.
- Attributes
Remarks
Set the line break configuration. The line break will be passed to native used for calculating the text wrapping. The default value of the line break style is LineBreakConfig.LINE_BREAK_STYLE_NONE
Android reference for android.text.StaticLayout.Builder.setLineBreakConfig.
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.