Name
page:SetDash -- set dash pattern for lines
Synopsis
status = page:SetDash([pattern, phase])
Function
page:SetDash() sets the dash pattern for lines in the page. pattern needs to be a table containing between 0 and 8 elements of dashes and gaps. When called without parameters, line dashing will be disabled.

Here are some common patterns:

 
page:SetDash({3}, 1)
page:SetDash({7,3}, 2)
page:SetDash({8,7,2,7}, 0)

Inputs
pattern
optional: pattern of dashes and gaps used to stroke paths
phase
optional: the phase in which the pattern begins (default is 0)
Results
status
status code

Show TOC