lightbulb_outline Please take our October 2018 developer survey. 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