This question is related to Digital image Processing not Computer science
Pixel mask is formed by digits 1 and 0 to determine the positions to create a plot within the line path. For example, the mask 1111000 is used to show a dashed line with a dash length of 4 and inter point spacing of 3.