figureone
    Preparing search index...

    Line style object

    These properties are a subset of OBJ_Polyline which has more details on how a line is defined.

    • widthIs positive | 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")
    • cornerStyle fill | 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")
    • cornerSize number — only used when cornerStyle = radius (0.01)
    • cornerSides number — number of sides in curve - only used when cornerStyle = radius (10)
    • cornersOnly boolean — draw only the corners with size cornerSize (false)
    • cornerLength number — use only with cornersOnly = true - length of corner to draw (0.1)
    • minAutoCornerAngle number — see cornerStyle = auto (π/7)
    • dash number[] — 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.
    • linePrimitives boolean — Use WebGL line primitives instead of triangle primitives to draw the line (false)
    • lineNum number — Number of line primitives to use when linePrimitivs: true (2)