paint.setFakeBoldText(true)

来源:互联网 发布:端口号哪些可以改 编辑:程序博客网 时间:2024/06/11 01:21

void android.graphics.Paint.setFakeBoldText(boolean fakeBoldText)

 

public void setFakeBoldText (boolean fakeBoldText)
Since: API Level 1
Helper for setFlags(), setting or clearing the FAKE_BOLD_TEXT_FLAG bit

设定或清除标记FAKE_BOLD_TEXT_FLAG

Parameters
fakeBoldText  true to set the fakeBoldText bit in the paint's flags, false to clear it.

true设定,false清除。