Udostępnij za pośrednictwem


DynamicDrawableSpan.GetSize Method

Definition

[Android.Runtime.Register("getSize", "(Landroid/graphics/Paint;Ljava/lang/CharSequence;IILandroid/graphics/Paint$FontMetricsInt;)I", "GetGetSize_Landroid_graphics_Paint_Ljava_lang_CharSequence_IILandroid_graphics_Paint_FontMetricsInt_Handler")]
public override int GetSize (Android.Graphics.Paint paint, Java.Lang.ICharSequence? text, int start, int end, Android.Graphics.Paint.FontMetricsInt? fm);
[<Android.Runtime.Register("getSize", "(Landroid/graphics/Paint;Ljava/lang/CharSequence;IILandroid/graphics/Paint$FontMetricsInt;)I", "GetGetSize_Landroid_graphics_Paint_Ljava_lang_CharSequence_IILandroid_graphics_Paint_FontMetricsInt_Handler")>]
override this.GetSize : Android.Graphics.Paint * Java.Lang.ICharSequence * int * int * Android.Graphics.Paint.FontMetricsInt -> int

Parameters

paint
Paint
start
Int32
end
Int32

Returns

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