MeasuredText.GetCharWidthAt(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳字元在給定偏移量處的寬度。
[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
參數
- offset
- Int32
是角色的對比。
傳回
- 屬性
備註
回傳字元在給定偏移量處的寬度。
Java 文件 android.graphics.text.MeasuredText.getCharWidthAt(int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。