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
All Methods Instance Methods Concrete Methods 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.
-
-
-
Method Detail
-
__constructor__
@Implementation protected void __constructor__(Path path, boolean forceClosed)
-
getLength
@Implementation protected float getLength()
Return the total length of the current contour, or 0 if no path is associated with this measure object.
-
getPosTan
@Implementation protected boolean getPosTan(float distance, float[] pos, float[] tan)
Note: This is not mathematically correct.
-
-