MetricAffectingSpan.UpdateMeasureState(TextPaint) Method

Definition

Classes that extend MetricAffectingSpan implement this method to update the text formatting in a way that can change the width or height of characters.

[Android.Runtime.Register("updateMeasureState", "(Landroid/text/TextPaint;)V", "GetUpdateMeasureState_Landroid_text_TextPaint_Handler")]
public abstract void UpdateMeasureState (Android.Text.TextPaint textPaint);
[<Android.Runtime.Register("updateMeasureState", "(Landroid/text/TextPaint;)V", "GetUpdateMeasureState_Landroid_text_TextPaint_Handler")>]
abstract member UpdateMeasureState : Android.Text.TextPaint -> unit

Parameters

textPaint
TextPaint

the paint used for drawing the text

Attributes

Remarks

Classes that extend MetricAffectingSpan implement this method to update the text formatting in a way that can change the width or height of characters.

Java documentation for android.text.style.MetricAffectingSpan.updateMeasureState(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