strokePattern

Sets the stroke pattern of the polyline (dashed, dotted, etc.).

Parameters

pattern

PathEffect defining the pattern, or null for solid line


Sets the stroke pattern from an android.graphics.PathEffect, e.g. a DashPathEffect from Java.

Parameters

pattern

PathEffect defining the pattern