Language

SuggestionRangeSpan.UpdateDrawState(TextPaint) Method

Definition

Sets the text paint's background color to this span's background color.

[Android.Runtime.Register("updateDrawState", "(Landroid/text/TextPaint;)V", "", ApiSince=33)]
public override void UpdateDrawState(Android.Text.TextPaint tp);
[<Android.Runtime.Register("updateDrawState", "(Landroid/text/TextPaint;)V", "", ApiSince=33)>]
override this.UpdateDrawState : Android.Text.TextPaint -> unit

Parameters

tp
TextPaint

The text paint used to draw the text.

Attributes

Remarks

This method copies the stored background color to the text paint without changing its other settings.

Applies to