Class ShadowPathMeasure

java.lang.Object
org.robolectric.shadows.ShadowPathMeasure

@Implements(android.graphics.PathMeasure.class) public class ShadowPathMeasure extends Object
  • Constructor Details

    • ShadowPathMeasure

      public ShadowPathMeasure()
  • Method Details

    • __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.