
###########
LinePattern
###########

.. js:data:: LinePattern

   .. rst-class:: sig-pretty-signature
   
      | LinePattern: (*number*\ [] \| *Uint8Array*\ )
   
   Specifies the appearance of a single repetion of a line pattern. The format is an arbitrary-length array of ``1``\ s and ``0``\ s, where pixels covered by a ``1`` in the pattern are visible and pixels covered by a ``0`` are invisible.
   
   Examples:
   
   
   - ``[1,0]``\ : a dashed line with equal-length dashes and gaps
   - ``[1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,0,0,0]``\ : a dash followed by a gap of equal length with a dot in the center
   




