What does a pixel mask mean?
(A) string containing only 1’s
(B) string containing only 0’s
(C) string containing two 0’s
(D) string containing 1’s and 0’s
Answer: (D)
Explanation: Pixel counts for the span length and interspan spacing can be specified in a pixel mask, which is a string containing the digits 1 and 0 to indicate which positions to plot along the line path. The mask 1111000, for instance, could be used to display a dashed line with a dash length of four pixels and an interdash spacing of three pixels.
So, option (D) is correct.
Quiz of this Question
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.