Compartilhar via


ForegroundColorSpan.UpdateDrawState(TextPaint) Method

Definition

Updates the color of the TextPaint to the foreground color.

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

Parameters

textPaint
TextPaint
Attributes

Remarks

Updates the color of the TextPaint to the foreground color.

Java documentation for android.text.style.ForegroundColorSpan.updateDrawState(android.text.TextPaint).

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