setLineWidth method

dynamic setLineWidth(
  1. dynamic width
)

Implementation

setLineWidth(width) {
  if (width != currentLineWidth) {
    if (lineWidthAvailable) gl.lineWidth(width);

    currentLineWidth = width;
  }
}