Language

StyleSpan.UpdateDrawState(TextPaint) Method

Definition

Applies this span's typeface style for drawing. A defined, nonzero font-weight adjustment is applied only when this span requests bold.

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

Parameters

ds
TextPaint

The text paint used to draw the text.

Attributes

Remarks

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