Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.
added in API level 1

DiscretePathEffect

public class DiscretePathEffect
extends PathEffect

java.lang.Object
   ↳ android.graphics.PathEffect
     ↳ android.graphics.DiscretePathEffect


Summary

Public constructors

DiscretePathEffect(float segmentLength, float deviation)

Chop the path into lines of segmentLength, randomly deviating from the original path by deviation.

Inherited methods

Public constructors

DiscretePathEffect

added in API level 1
public DiscretePathEffect (float segmentLength, 
                float deviation)

Chop the path into lines of segmentLength, randomly deviating from the original path by deviation.

Parameters
segmentLength float

deviation float