Language

Layout.GetSelectionPath(Int32, Int32, Path) Method

Definition

Fills in the specified Path with a representation of a highlight between the specified offsets.

[Android.Runtime.Register("getSelectionPath", "(IILandroid/graphics/Path;)V", "GetGetSelectionPath_IILandroid_graphics_Path_Handler")]
public virtual void GetSelectionPath(int start, int end, Android.Graphics.Path? dest);
[<Android.Runtime.Register("getSelectionPath", "(IILandroid/graphics/Path;)V", "GetGetSelectionPath_IILandroid_graphics_Path_Handler")>]
abstract member GetSelectionPath : int * int * Android.Graphics.Path -> unit
override this.GetSelectionPath : int * int * Android.Graphics.Path -> unit

Parameters

start
Int32

One endpoint of the selected text range.

end
Int32

The other endpoint of the selected text range.

dest
Path

The path that is reset and filled with the selection highlight.

Attributes

Remarks

Fills in the specified Path with a representation of a highlight between the specified offsets. This will often be a rectangle or a potentially discontinuous set of rectangles. If the start and end are the same, the returned path is empty.

Java documentation for android.text.Layout.getSelectionPath(int, int, android.graphics.Path).

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