setBorderDashArray

Sets a dash style for the border. It's in form of an array where the numbers mean full_length, empty length, full_length... etc.. The pattern is repeated.

To get a dashed border, setBorderStyle should be set to DASHED and color of the border should be set with setBorderColor.

Parameters

dashes

List of integer numbers representing lengths of a pattern. E.g. { 2, 3 } will generate a dash pattern with lines of length 2 and empty spaces of length 3.