Context.getDashCount
int getDashCount()This function returns the length of the dash array in cr (0 if dashing is not currently in effect).
See also cairo.context.Context.setDash and cairo.context.Context.getDash.
Returns
the length of the dash array, or 0 if no dash array set.