Package org.robolectric.shadows
Class ShadowVectorDrawable
- java.lang.Object
-
- org.robolectric.shadows.ShadowDrawable
-
- org.robolectric.shadows.ShadowVectorDrawable
-
@Implements(value=android.graphics.drawable.VectorDrawable.class, minSdk=24) public class ShadowVectorDrawable extends ShadowDrawable
-
-
Constructor Summary
Constructors Constructor Description ShadowVectorDrawable()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static long
nCreateFullPath()
protected static long
nCreateFullPath(long nativeFullPathPtr)
protected static long
nCreateGroup()
protected static long
nCreateGroup(long groupPtr)
protected static boolean
nGetFullPathProperties(long pathPtr, byte[] properties, int length)
protected static boolean
nGetGroupProperties(long groupPtr, float[] properties, int length)
protected static void
nUpdateFullPathProperties(long pathPtr, float strokeWidth, int strokeColor, float strokeAlpha, int fillColor, float fillAlpha, float trimPathStart, float trimPathEnd, float trimPathOffset, float strokeMiterLimit, int strokeLineCap, int strokeLineJoin, int fillType)
protected static void
nUpdateGroupProperties(long groupPtr, float rotate, float pivotX, float pivotY, float scaleX, float scaleY, float translateX, float translateY)
-
Methods inherited from class org.robolectric.shadows.ShadowDrawable
addCorruptStreamSource, clearCorruptStreamSources, createFromPath, createFromResourceId, createFromResourceStream, createFromStream, getAlpha, getCreatedFromResId, getInputStream, getIntrinsicHeight, getIntrinsicWidth, invalidateSelf, setAlpha, setDefaultIntrinsicHeight, setDefaultIntrinsicWidth, setIntrinsicHeight, setIntrinsicWidth, validate, wasInvalidated
-
-
-
-
Method Detail
-
nCreateFullPath
@Implementation protected static long nCreateFullPath()
-
nCreateFullPath
@Implementation protected static long nCreateFullPath(long nativeFullPathPtr)
-
nGetFullPathProperties
@Implementation protected static boolean nGetFullPathProperties(long pathPtr, byte[] properties, int length)
-
nUpdateFullPathProperties
@Implementation protected static void nUpdateFullPathProperties(long pathPtr, float strokeWidth, int strokeColor, float strokeAlpha, int fillColor, float fillAlpha, float trimPathStart, float trimPathEnd, float trimPathOffset, float strokeMiterLimit, int strokeLineCap, int strokeLineJoin, int fillType)
-
nCreateGroup
@Implementation protected static long nCreateGroup()
-
nCreateGroup
@Implementation protected static long nCreateGroup(long groupPtr)
-
nGetGroupProperties
@Implementation protected static boolean nGetGroupProperties(long groupPtr, float[] properties, int length)
-
nUpdateGroupProperties
@Implementation protected static void nUpdateGroupProperties(long groupPtr, float rotate, float pivotX, float pivotY, float scaleX, float scaleY, float translateX, float translateY)
-
-