MeasuredText.GetCharWidthAt(Int32) 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.
Returns the width of the character at the given offset.
[Android.Runtime.Register("getCharWidthAt", "(I)F", "GetGetCharWidthAt_IHandler", ApiSince=29)]
public virtual float GetCharWidthAt (int offset);
[<Android.Runtime.Register("getCharWidthAt", "(I)F", "GetGetCharWidthAt_IHandler", ApiSince=29)>]
abstract member GetCharWidthAt : int -> single
override this.GetCharWidthAt : int -> single
Parameters
- offset
- Int32
an offset of the character.
Returns
- Attributes
Remarks
Returns the width of the character at the given offset.
Java documentation for android.graphics.text.MeasuredText.getCharWidthAt(int)
.
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.