discreteEffect

fun discreteEffect(segmentLength: Float, deviation: Float): Border.Builder

Applies a discrete effect to the border

Specifying two effects will compose them where the first specified effect acts as the outer effect and the second acts as the inner path effect, e.g. outer(inner(path))

Parameters

segmentLength

Length of line segments

deviation

Maximum amount of deviation. Utilized value is random in the range -deviation, deviation