-
-
Constructor Summary
Constructors Constructor Description LPaint()LPaint(int flags)LPaint(PorterDuff.Mode porterDuffMode)LPaint(int flags, PorterDuff.Mode porterDuffMode)
-
Method Summary
Modifier and Type Method Description voidsetTextLocales(@NonNull() LocaleList locales)voidsetAlpha(int alpha)Overrides setAlpha to avoidunnecessary ColorSpace$Named[] allocations when calling this method in Android 29 or lower. -
Methods inherited from class android.graphics.Paint
ascent, breakText, clearShadowLayer, descent, equalsForTextMeasurement, getAlpha, getBlendMode, getColor, getColorFilter, getColorLong, getEndHyphenEdit, getFillPath, getFlags, getFontFeatureSettings, getFontMetrics, getFontMetrics, getFontMetricsForLocale, getFontMetricsInt, getFontMetricsInt, getFontMetricsInt, getFontMetricsIntForLocale, getFontSpacing, getFontVariationSettings, getHinting, getLetterSpacing, getMaskFilter, getOffsetForAdvance, getPathEffect, getRunAdvance, getRunCharacterAdvance, getShader, getShadowLayerColor, getShadowLayerColorLong, getShadowLayerDx, getShadowLayerDy, getShadowLayerRadius, getStartHyphenEdit, getStrikeThruPosition, getStrikeThruThickness, getStrokeCap, getStrokeJoin, getStrokeMiter, getStrokeWidth, getStyle, getTextAlign, getTextBounds, getTextLocale, getTextLocales, getTextPath, getTextRunAdvances, getTextRunCursor, getTextScaleX, getTextSize, getTextSkewX, getTextWidths, getTypeface, getUnderlinePosition, getUnderlineThickness, getWordSpacing, getXfermode, hasGlyph, isAntiAlias, isDither, isElegantTextHeight, isFakeBoldText, isFilterBitmap, isLinearText, isStrikeThruText, isSubpixelText, isUnderlineText, measureText, reset, set, setARGB, setAlpha, setAntiAlias, setBlendMode, setColor, setColorFilter, setDither, setElegantTextHeight, setEndHyphenEdit, setFakeBoldText, setFilterBitmap, setFlags, setFontFeatureSettings, setFontVariationSettings, setHinting, setLetterSpacing, setLinearText, setMaskFilter, setPathEffect, setShader, setShadowLayer, setStartHyphenEdit, setStrikeThruText, setStrokeCap, setStrokeJoin, setStrokeMiter, setStrokeWidth, setStyle, setSubpixelText, setTextAlign, setTextLocale, setTextLocales, setTextScaleX, setTextSize, setTextSkewX, setTypeface, setUnderlineText, setWordSpacing, setXfermode -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
LPaint
LPaint()
-
LPaint
LPaint(int flags)
-
LPaint
LPaint(PorterDuff.Mode porterDuffMode)
-
LPaint
LPaint(int flags, PorterDuff.Mode porterDuffMode)
-
-
Method Detail
-
setTextLocales
void setTextLocales(@NonNull() LocaleList locales)
-
setAlpha
void setAlpha(int alpha)
Overrides setAlpha to avoidunnecessary ColorSpace$Named[] allocations when calling this method in Android 29 or lower.
- Parameters:
alpha- set the alpha component [0..255] of the paint's color.
-
-
-
-