Share via


Highlights.GetPaint(Int32) Method

Definition

Returns a paint used for the i-th highlight.

[Android.Runtime.Register("getPaint", "(I)Landroid/graphics/Paint;", "GetGetPaint_IHandler", ApiSince=34)]
public virtual Android.Graphics.Paint GetPaint (int index);
[<Android.Runtime.Register("getPaint", "(I)Landroid/graphics/Paint;", "GetGetPaint_IHandler", ApiSince=34)>]
abstract member GetPaint : int -> Android.Graphics.Paint
override this.GetPaint : int -> Android.Graphics.Paint

Parameters

index
Int32

an index of the highlight. Must be between 0 and #getSize()

Returns

the paint object

Attributes

Remarks

Returns a paint used for the i-th highlight.

Java documentation for android.text.Highlights.getPaint(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.

Applies to