CalligraphyConfig.java 文件源码

java
阅读 24 收藏 0 点赞 0 评论 0

项目:DownloadableCalligraphy 作者:
/**
 * Set the default font if you don't define one else where in your styles.
 *
 * @param defaultFont a path to a font file in the assets folder, e.g. "fonts/Roboto-light.ttf",
 *                             passing null will default to the device font-family.
 * @return this builder.
 */
public Builder setDefaultFont(@FontRes int defaultFont) {
    this.isFontSet = defaultFont != 0;
    this.fontFamily = defaultFont;
    return this;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号