Documentation - v20.0.0-dev
    Preparing search index...

    How the segments of a part are drawn, the lines of a part of primitive: 'lines' or the sharp edges of a part of triangles (in their edge colour): as ribbons facing the camera, width pixels wide on screen at any distance; dashed when dash and gap are both above 0, in pixels too (the dashes restart at each segment). A part without style draws its segments 1 pixel wide.

    interface LineStyle {
        dash: number;
        gap: number;
        width: number;
    }
    Index

    Properties

    Properties

    dash: number

    Length of a dash, in pixels; 0: solid.

    gap: number

    Length of a gap between two dashes, in pixels; 0: solid.

    width: number

    Width of the ribbon, in pixels; above 0.