Add javadocs for local font family

This commit is contained in:
kevin
2019-02-18 09:30:23 +08:00
committed by Tobrun
parent 68cea961f2
commit 4540f80375
2 changed files with 5 additions and 1 deletions

View File

@@ -594,6 +594,7 @@ public class MapboxMapOptions implements Parcelable {
* <p>
* The font family argument is passed to {@link android.graphics.Typeface#create(String, int)}.
* Default system fonts are defined in &#x27;/system/etc/fonts.xml&#x27;
* Default font for local ideograph font family is "sans-serif".
*
* @param fontFamily font family for local ideograph generation.
* @return This
@@ -887,6 +888,7 @@ public class MapboxMapOptions implements Parcelable {
/**
* Returns the font-family for locally overriding generation of glyphs in the
* &#x27;CJK Unified Ideographs&#x27; and &#x27;Hangul Syllables&#x27; ranges.
* Default font for local ideograph font family is "sans-serif".
*
* @return Local ideograph font family name.
*/

View File

@@ -183,6 +183,7 @@ public class MapSnapshotter {
* <p>
* The font family argument is passed to {@link android.graphics.Typeface#create(String, int)}.
* Default system fonts are defined in &#x27;/system/etc/fonts.xml&#x27;
* Default font for local ideograph font family is "sans-serif".
*
* @param fontFamily font family for local ideograph generation.
* @return the mutated {@link Options}
@@ -250,7 +251,8 @@ public class MapSnapshotter {
}
/**
* @return the font family used for locally generating ideographs
* @return the font family used for locally generating ideographs,
* Default font for local ideograph font family is "sans-serif".
*/
public String getLocalIdeographFontFamily() {
return localIdeographFontFamily;