Language

DrawableMarginSpan.ChooseHeight Method

Definition

Overloads

Name Description
ChooseHeight(ICharSequence, Int32, Int32, Int32, Int32, Paint+FontMetricsInt)
ChooseHeight(String, Int32, Int32, Int32, Int32, Paint+FontMetricsInt)

Classes that implement this should define how the height is being calculated.

ChooseHeight(ICharSequence, Int32, Int32, Int32, Int32, Paint+FontMetricsInt)

[Android.Runtime.Register("chooseHeight", "(Ljava/lang/CharSequence;IIIILandroid/graphics/Paint$FontMetricsInt;)V", "GetChooseHeight_Ljava_lang_CharSequence_IIIILandroid_graphics_Paint_FontMetricsInt_Handler")]
public virtual void ChooseHeight(Java.Lang.ICharSequence text, int start, int end, int istartv, int v, Android.Graphics.Paint.FontMetricsInt fm);
[<Android.Runtime.Register("chooseHeight", "(Ljava/lang/CharSequence;IIIILandroid/graphics/Paint$FontMetricsInt;)V", "GetChooseHeight_Ljava_lang_CharSequence_IIIILandroid_graphics_Paint_FontMetricsInt_Handler")>]
abstract member ChooseHeight : Java.Lang.ICharSequence * int * int * int * int * Android.Graphics.Paint.FontMetricsInt -> unit
override this.ChooseHeight : Java.Lang.ICharSequence * int * int * int * int * Android.Graphics.Paint.FontMetricsInt -> unit

Parameters

start
Int32

the start of the line

end
Int32

the end of the line

istartv
Int32

the start of the span

v
Int32

the line height

Implements

Attributes

Remarks

Classes that implement this should define how the height is being calculated.

Android reference for android.text.style.DrawableMarginSpan.chooseHeight.

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

ChooseHeight(String, Int32, Int32, Int32, Int32, Paint+FontMetricsInt)

Classes that implement this should define how the height is being calculated.

public void ChooseHeight(string text, int start, int end, int istartv, int v, Android.Graphics.Paint.FontMetricsInt fm);
member this.ChooseHeight : string * int * int * int * int * Android.Graphics.Paint.FontMetricsInt -> unit

Parameters

text
String
start
Int32

the start of the line

end
Int32

the end of the line

istartv
Int32

the start of the span

v
Int32

the line height

Remarks

Classes that implement this should define how the height is being calculated.

Android reference for android.text.style.DrawableMarginSpan.chooseHeight.

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