mPaint.ascent()

来源:互联网 发布:体脂秤什么牌子好 知乎 编辑:程序博客网 时间:2024/06/11 21:55

float android.graphics.Paint.ascent()

 

public float ascent ()
Since: API Level 1
Return the distance above (negative) the baseline (ascent) based on the current typeface and text size.

Returns
the distance above (negative) the baseline (ascent) based on the current typeface and text size.

基于当前字体和文字大小,返回高于基线的距离。

原创粉丝点击