pattern

Sets the stroke pattern as dots, dashes and gaps, e.g. listOf(Dot(), Gap(20f)). It is used instead of a strokePattern if not null.

Parameters

pattern

The repeating pattern, or null for none