DynamicLayout.Builder.SetShiftDrawingOffsetForStartOverhang(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 true for shifting the drawing x offset for showing overhang at the start position.
[Android.Runtime.Register("setShiftDrawingOffsetForStartOverhang", "(Z)Landroid/text/DynamicLayout$Builder;", "", ApiSince=35)]
public Android.Text.DynamicLayout.Builder SetShiftDrawingOffsetForStartOverhang(bool shiftDrawingOffsetForStartOverhang);
[<Android.Runtime.Register("setShiftDrawingOffsetForStartOverhang", "(Z)Landroid/text/DynamicLayout$Builder;", "", ApiSince=35)>]
member this.SetShiftDrawingOffsetForStartOverhang : bool -> Android.Text.DynamicLayout.Builder
Parameters
- shiftDrawingOffsetForStartOverhang
- Boolean
true for shifting the drawing offset for showing the stroke that is in the region where the x coordinate is negative.
Returns
- Attributes
Remarks
Set true for shifting the drawing x offset for showing overhang at the start position. This flag is ignored if the Layout.getUseBoundsForWidth() is false. If this value is false, the Layout draws text from the zero even if there is a glyph stroke in a region where the x coordinate is negative. If this value is true, the Layout draws text with shifting the x coordinate of the drawing bounding box. This value is false by default.
Android reference for android.text.DynamicLayout.Builder.setShiftDrawingOffsetForStartOverhang.
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.