Available Methods
- setColor ( )
- setTextSize ( )
- setUnderlineText ( )
- setTypeface ( )
- setAntiAlias ( )
- measureText ( )
- setTextAlign ( )
- setFlags ( )
- setFakeBoldText ( )
- ascent ( )
- setStyle ( )
- setStrokeWidth ( )
- descent ( )
- getFontMetrics ( )
- getTextSize ( )
- set ( )
- ANTI_ALIAS_FLAG
- setTextScaleX ( )
- getColor ( )
- setAlpha ( )
- getTextWidths ( )
- getTypeface ( )
- setShadowLayer ( )
- getFontMetricsInt ( )
- getTextBounds ( )
- setDither ( )
- setLetterSpacing ( )
- setTextSkewX ( )
- setSubpixelText ( )
- getAlpha ( )
- setFontFeatureSettings ( )
- setStrikeThruText ( )
- setLinearText ( )
- setShader ( )
- clearShadowLayer ( )
- reset ( )
Related Classes
- android.content.Context
- android.view.View
- android.util.Log
- android.widget.TextView
- android.content.Intent
- android.view.ViewGroup
- android.os.Build
- android.util.AttributeSet
- android.widget.ImageView
- android.graphics.Color
- android.graphics.Canvas
- android.graphics.Bitmap
- android.text.TextUtils
- android.graphics.Paint
- android.graphics.drawable.Drawable
- android.content.res.TypedArray
- android.support.annotation.Nullable
- android.support.annotation.NonNull
- android.graphics.Rect
- android.content.res.Resources
- android.view.Gravity
- android.util.TypedValue
- android.util.DisplayMetrics
- android.graphics.RectF
- android.support.v4.content.ContextCompat
Java Code Examples for android.text.TextPaint#setFontFeatureSettings()
The following examples show how to use
android.text.TextPaint#setFontFeatureSettings() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: FractionActivity.java From advanced-textview with Apache License 2.0 | 4 votes |
@Override public void updateMeasureState(TextPaint textPaint) { textPaint.setFontFeatureSettings(FONT_FEATURE_SETTINGS); }
Example 2
Source File: FractionActivity.java From advanced-textview with Apache License 2.0 | 4 votes |
@Override public void updateDrawState(TextPaint textPaint) { textPaint.setFontFeatureSettings(FONT_FEATURE_SETTINGS); }