Package org.robolectric.shadows
Class ShadowPathMeasure
java.lang.Object
org.robolectric.shadows.ShadowPathMeasure
@Implements(android.graphics.PathMeasure.class) public class ShadowPathMeasure extends Object
-
Constructor Summary
Constructors Constructor Description ShadowPathMeasure()
-
Method Summary
Modifier and Type Method Description protected void
__constructor__(Path path, boolean forceClosed)
protected float
getLength()
Return the total length of the current contour, or 0 if no path is associated with this measure object.protected boolean
getPosTan(float distance, float[] pos, float[] tan)
Note: This is not mathematically correct.
-
Constructor Details
-
ShadowPathMeasure
public ShadowPathMeasure()
-
-
Method Details
-
__constructor__
-
getLength
Return the total length of the current contour, or 0 if no path is associated with this measure object. -
getPosTan
Note: This is not mathematically correct.
-