public HPDF_STATUS setDash(
    ushort[] dashPattern, 
    uint phase)

Sets the dash pattern for lines in the page.

Contracts

in
{
    assert (dashPattern !is null);
    assert (dashPattern.length < 9, "numElem should be lesser than 9");
}

Graphics Mode

Before and after - GMode.pageDescription or GMode.textObject.

Parameters

dashPattern

Pattern of dashes and gaps used to stroke paths. It's a repeating sequence of dash length, gap length, dash length etc, which are cycled through when stroking the line.

phase

Initial offset in which the pattern begins (default is 0).