StaticLayout.Builder.SetIncludePad(Boolean) 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 whether to include extra space beyond font ascent and descent (which is needed to avoid clipping in some languages, such as Arabic and Kannada).
[Android.Runtime.Register("setIncludePad", "(Z)Landroid/text/StaticLayout$Builder;", "", ApiSince=23)]
public Android.Text.StaticLayout.Builder SetIncludePad(bool includePad);
[<Android.Runtime.Register("setIncludePad", "(Z)Landroid/text/StaticLayout$Builder;", "", ApiSince=23)>]
member this.SetIncludePad : bool -> Android.Text.StaticLayout.Builder
Parameters
- includePad
- Boolean
whether to include padding
Returns
this builder, useful for chaining. This value cannot be null.
- Attributes
Remarks
Set whether to include extra space beyond font ascent and descent (which is needed to avoid clipping in some languages, such as Arabic and Kannada). The default is true.
Android reference for android.text.StaticLayout.Builder.setIncludePad.
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.