Language

Layout.GetCursorPath Method

Definition

Overloads

Name Description
GetCursorPath(Int32, Path, ICharSequence)

Fills in the specified Path with a representation of a cursor at the specified offset.

GetCursorPath(Int32, Path, String)

Fills in the specified Path with a representation of a cursor at the specified offset.

GetCursorPath(Int32, Path, ICharSequence)

Fills in the specified Path with a representation of a cursor at the specified offset.

[Android.Runtime.Register("getCursorPath", "(ILandroid/graphics/Path;Ljava/lang/CharSequence;)V", "GetGetCursorPath_ILandroid_graphics_Path_Ljava_lang_CharSequence_Handler")]
public virtual void GetCursorPath(int point, Android.Graphics.Path? dest, Java.Lang.ICharSequence? editingBuffer);
[<Android.Runtime.Register("getCursorPath", "(ILandroid/graphics/Path;Ljava/lang/CharSequence;)V", "GetGetCursorPath_ILandroid_graphics_Path_Ljava_lang_CharSequence_Handler")>]
abstract member GetCursorPath : int * Android.Graphics.Path * Java.Lang.ICharSequence -> unit
override this.GetCursorPath : int * Android.Graphics.Path * Java.Lang.ICharSequence -> unit

Parameters

point
Int32

The text offset at which to draw the cursor.

dest
Path

The path that is reset and filled with the cursor shape.

editingBuffer
ICharSequence

The editing text used to determine cursor modifier-state indicators.

Attributes

Remarks

Fills in the specified Path with a representation of a cursor at the specified offset. This will often be a vertical line but can be multiple discontinuous lines in text with multiple directionalities.

Java documentation for android.text.Layout.getCursorPath(int, android.graphics.Path, java.lang.CharSequence).

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.

Applies to

GetCursorPath(Int32, Path, String)

Fills in the specified Path with a representation of a cursor at the specified offset.

public void GetCursorPath(int point, Android.Graphics.Path? dest, string? editingBuffer);
member this.GetCursorPath : int * Android.Graphics.Path * string -> unit

Parameters

point
Int32

The text offset at which to draw the cursor.

dest
Path

The path that is reset and filled with the cursor shape.

editingBuffer
String

The editing text passed to the cursor modifier-state check.

Remarks

Fills in the specified Path with a representation of a cursor at the specified offset. This will often be a vertical line but can be multiple discontinuous lines in text with multiple directionalities.

Java documentation for android.text.Layout.getCursorPath(int, android.graphics.Path, java.lang.CharSequence).

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.

Applies to