These properties are a subset of OBJ_Polyline which has more details
on how a line is defined.
widthIspositive | negative | mid | outside | inside — defines how the width is grown from the polyline's points.
Only "mid" is fully compatible with all options in
cornerStyle and dash. ("mid")
cornerStylefill | none | radius | auto — "auto":
sharp corners sharp when angle is less than minAutoCornerAngle, "none": no
corners, "radius": curved corners, "fill": fills the gapes between the line
ends, ("auto")
cornerSizenumber — only used when cornerStyle = radius (0.01)
cornerSidesnumber — number of sides in curve - only used when
cornerStyle = radius (10)
cornersOnlyboolean — draw only the corners with size cornerSize (false)
cornerLengthnumber — use only with cornersOnly = true -
length of corner to draw (0.1)
minAutoCornerAnglenumber — see cornerStyle = auto (π/7)
dashnumber[] — leave empty for solid line - use array of
numbers for dash line where first number is length of line, second number is
length of gap and then the pattern repeats - can use more than one dash length
and gap - e.g. [0.1, 0.01, 0.02, 0.01] produces a lines with a long dash,
short gap, short dash, short gap and then repeats.
linePrimitivesboolean — Use WebGL line primitives instead of
triangle primitives to draw the line (false)
lineNumnumber — Number of line primitives to use when
linePrimitivs: true (2)
Line style object
These properties are a subset of OBJ_Polyline which has more details on how a line is defined.
widthIspositive|negative|mid|outside|inside— defines how the width is grown from the polyline's points. Only"mid"is fully compatible with all options incornerStyleanddash. ("mid")cornerStylefill|none|radius|auto—"auto": sharp corners sharp when angle is less thanminAutoCornerAngle,"none": no corners,"radius": curved corners,"fill": fills the gapes between the line ends, ("auto")cornerSizenumber— only used whencornerStyle=radius(0.01)cornerSidesnumber— number of sides in curve - only used whencornerStyle=radius(10)cornersOnlyboolean— draw only the corners with sizecornerSize(false)cornerLengthnumber— use only withcornersOnly=true- length of corner to draw (0.1)minAutoCornerAnglenumber— seecornerStyle=auto(π/7)dashnumber[] — leave empty for solid line - use array of numbers for dash line where first number is length of line, second number is length of gap and then the pattern repeats - can use more than one dash length and gap - e.g. [0.1, 0.01, 0.02, 0.01] produces a lines with a long dash, short gap, short dash, short gap and then repeats.linePrimitivesboolean— Use WebGL line primitives instead of triangle primitives to draw the line (false)lineNumnumber— Number of line primitives to use whenlinePrimitivs:true(2)