Paint

Page 1 2 3 4

public Locale getTextLocale() source
public android.os.LocaleList getTextLocales() source
public void setTextLocale(Locale locale) source
public void setTextLocales(android.os.LocaleList locales) source
public boolean isElegantTextHeight() source
public void setElegantTextHeight(boolean elegant) source
public float getTextSize() source
public void setTextSize(float textSize) source
public float getTextScaleX() source
public void setTextScaleX(float scaleX) source
public float getTextSkewX() source
public void setTextSkewX(float skewX) source
public float getLetterSpacing() source
public void setLetterSpacing(float letterSpacing) source
public float getWordSpacing() source
public void setWordSpacing(float wordSpacing) source
public String getFontFeatureSettings() source
public void setFontFeatureSettings(String settings) source
public String getFontVariationSettings() source
public boolean setFontVariationSettings(String settings) source
public int getStartHyphenEdit() source
public int getEndHyphenEdit() source
public void setStartHyphenEdit(int edit) source
public void setEndHyphenEdit(int edit) source

Text

public int font() source

The face drawn and measured.

public boolean fakeBold() source

Whether the renderer draws the text bold: a fake bold flag, or a weight the face does not have.

public float skew() source

The slant the renderer adds: the paint's, and an italic face's.

public float ascent() source
public float descent() source
public float getFontSpacing() source
public float getFontMetrics(FontMetrics metrics) source
public FontMetrics getFontMetrics() source
public void getFontMetricsForLocale(FontMetrics metrics) source
public int getFontMetricsInt(FontMetricsInt fmi) source
public FontMetricsInt getFontMetricsInt() source
public void getFontMetricsInt(CharSequence text, int start, int count, int contextStart, int contextCount, boolean isRtl, FontMetricsInt outMetrics) source
public void getFontMetricsInt(char[] text, int start, int count, int contextStart, int contextCount, boolean isRtl, FontMetricsInt outMetrics) source

Page 1 2 3 4


Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.