Layout.GetPrimaryHorizontal(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.
Get the primary horizontal position for the specified text offset.
[Android.Runtime.Register("getPrimaryHorizontal", "(I)F", "GetGetPrimaryHorizontal_IHandler")]
public virtual float GetPrimaryHorizontal (int offset);
[<Android.Runtime.Register("getPrimaryHorizontal", "(I)F", "GetGetPrimaryHorizontal_IHandler")>]
abstract member GetPrimaryHorizontal : int -> single
override this.GetPrimaryHorizontal : int -> single
Parameters
- offset
- Int32
Returns
- Attributes
Remarks
Get the primary horizontal position for the specified text offset. This is the location where a new character would be inserted in the paragraph's primary direction.
Java documentation for android.text.Layout.getPrimaryHorizontal(int)
.
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.