Android.Graphics.Paint.GetTextWidths Method
Return the advance widths for the characters in the string.

Syntax

[Android.Runtime.Register("getTextWidths", "(Ljava/lang/CharSequence;II[F)I", "GetGetTextWidths_Ljava_lang_CharSequence_IIarrayFHandler")]
public virtual int GetTextWidths (Java.Lang.ICharSequence text, int start, int end, float[] widths)

Parameters

text
The text to measure. Cannot be null.
start
The index of the first char to to measure
end
The end of the text slice to measure
widths
array to receive the advance widths of the characters. Must be at least a large as (end - start).

Returns

Documentation for this section has not yet been entered.

Remarks

Return the advance widths for the characters in the string.

[Android Documentation]

Requirements

Namespace: Android.Graphics
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1