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 -
Method Summary
Modifier and TypeMethodDescriptionprotected static longprotected static longnCreateFullPath(long nativeFullPathPtr) protected static longprotected static longnCreateGroup(long groupPtr) protected static booleannGetFullPathProperties(long pathPtr, byte[] properties, int length) protected static booleannGetGroupProperties(long groupPtr, float[] properties, int length) protected static voidnUpdateFullPathProperties(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 voidnUpdateGroupProperties(long groupPtr, float rotate, float pivotX, float pivotY, float scaleX, float scaleY, float translateX, float translateY) Methods inherited from class org.robolectric.shadows.ShadowDrawable
createFromResourceId, getCreatedFromResId, getInputStream, invalidateSelf, setCreatedFromResId, validate, wasInvalidated
-
Constructor Details
-
ShadowVectorDrawable
public ShadowVectorDrawable()
-
-
Method Details
-
nCreateFullPath
-
nCreateFullPath
-
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
-
nCreateGroup
-
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)
-