ILineHeightSpanExtensions.ChooseHeight Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Classes that implement this should define how the height is being calculated.
public static void ChooseHeight(this Android.Text.Style.ILineHeightSpan self, string? text, int start, int end, int spanstartv, int lineHeight, Android.Graphics.Paint.FontMetricsInt? fm);
static member ChooseHeight : Android.Text.Style.ILineHeightSpan * string * int * int * int * int * Android.Graphics.Paint.FontMetricsInt -> unit
Parameters
- self
- ILineHeightSpan
- text
- String
the text
- start
- Int32
the start of the line
- end
- Int32
the end of the line
- spanstartv
- Int32
the start of the span
- lineHeight
- Int32
the line height
font metrics of the paint, in integers
Remarks
Classes that implement this should define how the height is being calculated.
Android reference for android.text.style.LineHeightSpan.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.