lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey
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