ShadowTextPaint@Implements(value=android.graphics.Paint.class, looseSignatures=true) public class ShadowPaint extends Object
| Constructor | Description | 
|---|---|
ShadowPaint() | 
| Modifier and Type | Method | Description | 
|---|---|---|
protected void | 
__constructor__(Paint otherPaint) | 
|
protected int | 
getAlpha() | 
|
Paint.Cap | 
getCap() | 
|
protected int | 
getColor() | 
|
protected ColorFilter | 
getColorFilter() | 
|
protected int | 
getFlags() | 
|
protected int | 
getFontMetricsInt(Paint.FontMetricsInt fmi) | 
|
Paint.Join | 
getJoin() | 
|
protected PathEffect | 
getPathEffect() | 
|
protected Shader | 
getShader() | 
|
int | 
getShadowColor() | 
|
float | 
getShadowDx() | 
|
float | 
getShadowDy() | 
|
float | 
getShadowRadius() | 
|
protected Paint.Cap | 
getStrokeCap() | 
|
protected Paint.Join | 
getStrokeJoin() | 
|
protected float | 
getStrokeWidth() | 
|
protected Paint.Style | 
getStyle() | 
|
protected Paint.Align | 
getTextAlign() | 
|
protected float | 
getTextSize() | 
|
protected Typeface | 
getTypeface() | 
|
float | 
getWidth() | 
|
protected boolean | 
isAntiAlias() | 
|
protected boolean | 
isDither() | 
|
protected float | 
measureText(char[] text,
           int index,
           int count) | 
|
protected float | 
measureText(CharSequence text,
           int start,
           int end) | 
|
protected float | 
measureText(String text) | 
|
protected float | 
measureText(String text,
           int start,
           int end) | 
|
protected int | 
native_breakText(char[] text,
                int index,
                int count,
                float maxWidth,
                float[] measuredWidth) | 
|
protected int | 
native_breakText(char[] text,
                int index,
                int count,
                float maxWidth,
                int bidiFlags,
                float[] measuredWidth) | 
|
protected static int | 
native_breakText(long native_object,
                long native_typeface,
                char[] text,
                int index,
                int count,
                float maxWidth,
                int bidiFlags,
                float[] measuredWidth) | 
|
protected static int | 
native_breakText(long native_object,
                long native_typeface,
                String text,
                boolean measureForwards,
                float maxWidth,
                int bidiFlags,
                float[] measuredWidth) | 
|
protected int | 
native_breakText(String text,
                boolean measureForwards,
                float maxWidth,
                float[] measuredWidth) | 
|
protected int | 
native_breakText(String text,
                boolean measureForwards,
                float maxWidth,
                int bidiFlags,
                float[] measuredWidth) | 
|
protected static float | 
native_getRunAdvance(long nativeObject,
                    long nativeTypeface,
                    char[] text,
                    int start,
                    int end,
                    int contextStart,
                    int contextEnd,
                    boolean isRtl,
                    int offset) | 
|
protected static float | 
native_getTextRunAdvances(int nativeObject,
                         char[] text,
                         int index,
                         int count,
                         int contextIndex,
                         int contextCount,
                         int flags,
                         float[] advances,
                         int advancesIndex) | 
|
protected static float | 
native_getTextRunAdvances(int nativeObject,
                         char[] text,
                         int index,
                         int count,
                         int contextIndex,
                         int contextCount,
                         int flags,
                         float[] advances,
                         int advancesIndex,
                         int reserved) | 
|
protected static float | 
native_getTextRunAdvances(int nativeObject,
                         String text,
                         int start,
                         int end,
                         int contextStart,
                         int contextEnd,
                         int flags,
                         float[] advances,
                         int advancesIndex) | 
|
protected static float | 
native_getTextRunAdvances(int nativeObject,
                         String text,
                         int start,
                         int end,
                         int contextStart,
                         int contextEnd,
                         int flags,
                         float[] advances,
                         int advancesIndex,
                         int reserved) | 
|
protected static float | 
native_getTextRunAdvances(long nativeObject,
                         long nativeTypeface,
                         char[] text,
                         int index,
                         int count,
                         int contextIndex,
                         int contextCount,
                         boolean isRtl,
                         float[] advances,
                         int advancesIndex) | 
|
protected static float | 
native_getTextRunAdvances(long nativeObject,
                         long nativeTypeface,
                         String text,
                         int start,
                         int end,
                         int contextStart,
                         int contextEnd,
                         boolean isRtl,
                         float[] advances,
                         int advancesIndex) | 
|
protected static int | 
nBreakText(long nObject,
          char[] text,
          int index,
          int count,
          float maxWidth,
          int bidiFlags,
          float[] measuredWidth) | 
|
protected static int | 
nBreakText(long nObject,
          long nTypeface,
          char[] text,
          int index,
          int count,
          float maxWidth,
          int bidiFlags,
          float[] measuredWidth) | 
|
protected static int | 
nBreakText(long nObject,
          long nTypeface,
          String text,
          boolean measureForwards,
          float maxWidth,
          int bidiFlags,
          float[] measuredWidth) | 
|
protected static int | 
nBreakText(long nObject,
          String text,
          boolean measureForwards,
          float maxWidth,
          int bidiFlags,
          float[] measuredWidth) | 
|
protected static int | 
nGetFontMetricsInt(long nativePaint,
                  long nativeTypeface,
                  Paint.FontMetricsInt fmi) | 
|
protected static int | 
nGetFontMetricsInt(long paintPtr,
                  Paint.FontMetricsInt fmi) | 
|
protected int | 
nGetFontMetricsInt(Object nativePaint,
                  Object nativeTypeface,
                  Object fmi) | 
|
protected static float | 
nGetRunAdvance(long paintPtr,
              char[] text,
              int start,
              int end,
              int contextStart,
              int contextEnd,
              boolean isRtl,
              int offset) | 
|
protected static float | 
nGetRunAdvance(long paintPtr,
              long typefacePtr,
              char[] text,
              int start,
              int end,
              int contextStart,
              int contextEnd,
              boolean isRtl,
              int offset) | 
|
protected static long | 
nInit() | 
|
protected void | 
setAlpha(int alpha) | 
|
protected void | 
setAntiAlias(boolean antiAlias) | 
|
protected void | 
setColor(int color) | 
|
protected ColorFilter | 
setColorFilter(ColorFilter filter) | 
|
protected void | 
setDither(boolean dither) | 
|
protected void | 
setFlags(int flags) | 
|
protected PathEffect | 
setPathEffect(PathEffect effect) | 
|
protected Shader | 
setShader(Shader shader) | 
|
protected void | 
setShadowLayer(float radius,
              float dx,
              float dy,
              int color) | 
|
protected void | 
setStrokeCap(Paint.Cap cap) | 
|
protected void | 
setStrokeJoin(Paint.Join join) | 
|
protected void | 
setStrokeWidth(float width) | 
|
protected void | 
setStyle(Paint.Style style) | 
|
protected void | 
setTextAlign(Paint.Align align) | 
|
protected void | 
setTextSize(float textSize) | 
|
protected Typeface | 
setTypeface(Typeface typeface) | 
|
protected void | 
setUnderlineText(boolean underlineText) | 
@Implementation protected void __constructor__(Paint otherPaint)
@Implementation(minSdk=24) protected static long nInit()
@Implementation protected int getFlags()
@Implementation protected void setFlags(int flags)
@Implementation protected void setUnderlineText(boolean underlineText)
@Implementation protected Shader setShader(Shader shader)
@Implementation protected int getAlpha()
@Implementation protected void setAlpha(int alpha)
@Implementation protected Shader getShader()
@Implementation protected void setColor(int color)
@Implementation protected int getColor()
@Implementation protected void setStyle(Paint.Style style)
@Implementation protected Paint.Style getStyle()
@Implementation protected void setStrokeCap(Paint.Cap cap)
@Implementation protected Paint.Cap getStrokeCap()
@Implementation protected void setStrokeJoin(Paint.Join join)
@Implementation protected Paint.Join getStrokeJoin()
@Implementation protected void setStrokeWidth(float width)
@Implementation protected float getStrokeWidth()
@Implementation protected void setShadowLayer(float radius, float dx, float dy, int color)
@Implementation protected Typeface getTypeface()
@Implementation protected Typeface setTypeface(Typeface typeface)
@Implementation protected float getTextSize()
@Implementation protected void setTextSize(float textSize)
@Implementation protected void setTextAlign(Paint.Align align)
@Implementation protected Paint.Align getTextAlign()
public float getShadowRadius()
public float getShadowDx()
public float getShadowDy()
public int getShadowColor()
public Paint.Cap getCap()
public Paint.Join getJoin()
public float getWidth()
@Implementation protected ColorFilter getColorFilter()
@Implementation protected ColorFilter setColorFilter(ColorFilter filter)
@Implementation protected void setAntiAlias(boolean antiAlias)
@Implementation protected void setDither(boolean dither)
@Implementation protected final boolean isDither()
@Implementation protected final boolean isAntiAlias()
@Implementation protected PathEffect getPathEffect()
@Implementation protected PathEffect setPathEffect(PathEffect effect)
@Implementation protected float measureText(String text)
@Implementation protected float measureText(CharSequence text, int start, int end)
@Implementation protected float measureText(String text, int start, int end)
@Implementation protected float measureText(char[] text, int index, int count)
@Implementation(maxSdk=17) protected int native_breakText(char[] text, int index, int count, float maxWidth, float[] measuredWidth)
@Implementation(minSdk=18, maxSdk=20) protected int native_breakText(char[] text, int index, int count, float maxWidth, int bidiFlags, float[] measuredWidth)
@Implementation(minSdk=21, maxSdk=23) protected static int native_breakText(long native_object, long native_typeface, char[] text, int index, int count, float maxWidth, int bidiFlags, float[] measuredWidth)
@Implementation(minSdk=24, maxSdk=27) protected static int nBreakText(long nObject, long nTypeface, char[] text, int index, int count, float maxWidth, int bidiFlags, float[] measuredWidth)
@Implementation(minSdk=28) protected static int nBreakText(long nObject, char[] text, int index, int count, float maxWidth, int bidiFlags, float[] measuredWidth)
@Implementation(maxSdk=17) protected int native_breakText(String text, boolean measureForwards, float maxWidth, float[] measuredWidth)
@Implementation(minSdk=18, maxSdk=20) protected int native_breakText(String text, boolean measureForwards, float maxWidth, int bidiFlags, float[] measuredWidth)
@Implementation(minSdk=21, maxSdk=23) protected static int native_breakText(long native_object, long native_typeface, String text, boolean measureForwards, float maxWidth, int bidiFlags, float[] measuredWidth)
@Implementation(minSdk=24, maxSdk=27) protected static int nBreakText(long nObject, long nTypeface, String text, boolean measureForwards, float maxWidth, int bidiFlags, float[] measuredWidth)
@Implementation(minSdk=28) protected static int nBreakText(long nObject, String text, boolean measureForwards, float maxWidth, int bidiFlags, float[] measuredWidth)
@Implementation(minSdk=28) protected static int nGetFontMetricsInt(long paintPtr, Paint.FontMetricsInt fmi)
@Implementation(minSdk=26, maxSdk=27) protected static int nGetFontMetricsInt(long nativePaint, long nativeTypeface, Paint.FontMetricsInt fmi)
@Implementation(minSdk=24, maxSdk=25) protected int nGetFontMetricsInt(Object nativePaint, Object nativeTypeface, Object fmi)
@Implementation(maxSdk=23) protected int getFontMetricsInt(Paint.FontMetricsInt fmi)
@Implementation(minSdk=28) protected static float nGetRunAdvance(long paintPtr, char[] text, int start, int end, int contextStart, int contextEnd, boolean isRtl, int offset)
@Implementation(minSdk=24, maxSdk=27) protected static float nGetRunAdvance(long paintPtr, long typefacePtr, char[] text, int start, int end, int contextStart, int contextEnd, boolean isRtl, int offset)
@Implementation(minSdk=23, maxSdk=23) protected static float native_getRunAdvance(long nativeObject, long nativeTypeface, char[] text, int start, int end, int contextStart, int contextEnd, boolean isRtl, int offset)
@Implementation(minSdk=20, maxSdk=22) protected static float native_getTextRunAdvances(long nativeObject, long nativeTypeface, char[] text, int index, int count, int contextIndex, int contextCount, boolean isRtl, float[] advances, int advancesIndex)
@Implementation(minSdk=20, maxSdk=22) protected static float native_getTextRunAdvances(long nativeObject, long nativeTypeface, String text, int start, int end, int contextStart, int contextEnd, boolean isRtl, float[] advances, int advancesIndex)
@Implementation(minSdk=18, maxSdk=19) protected static float native_getTextRunAdvances(int nativeObject, char[] text, int index, int count, int contextIndex, int contextCount, int flags, float[] advances, int advancesIndex)
@Implementation(minSdk=18, maxSdk=19) protected static float native_getTextRunAdvances(int nativeObject, String text, int start, int end, int contextStart, int contextEnd, int flags, float[] advances, int advancesIndex)
@Implementation(maxSdk=17) protected static float native_getTextRunAdvances(int nativeObject, char[] text, int index, int count, int contextIndex, int contextCount, int flags, float[] advances, int advancesIndex, int reserved)
@Implementation(maxSdk=17) protected static float native_getTextRunAdvances(int nativeObject, String text, int start, int end, int contextStart, int contextEnd, int flags, float[] advances, int advancesIndex, int reserved)