Package org.robolectric.shadows
Class ShadowPathIterator
java.lang.Object
org.robolectric.shadows.ShadowPathIterator
@Implements(value=android.graphics.PathIterator.class,
minSdk=34,
isInAndroidSdk=false)
public class ShadowPathIterator
extends Object
Shadow for
PathIterator
in LEGACY graphics.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static int
nNext
(long nativeIterator, long pointsAddress) By default, Robolectric instrumentation of this native method will cause it to return zero, which conveysPathIterator.VERB_MOVE
.protected static int
nNextHost
(long nativeIterator, float[] points) Also shadow the upcoming indevelopment nNextHost
-
Constructor Details
-
ShadowPathIterator
public ShadowPathIterator()
-
-
Method Details
-
nNext
By default, Robolectric instrumentation of this native method will cause it to return zero, which conveysPathIterator.VERB_MOVE
. To avoid infinite loops, update it to returnPathIterator.VERB_DONE
. -
nNextHost
@InDevelopment @Implementation(minSdk=35) protected static int nNextHost(long nativeIterator, float[] points) Also shadow the upcoming indevelopment nNextHost
-