pixi.js
    Preparing search index...

    Interface DashLineShaderOptions

    Options for a DashLineShader.

    interface DashLineShaderOptions {
        dash?: number;
        gap?: number;
        maxTextures?: number;
    }
    Index
    dash?: number

    Length of each dash, in pixels at a scale of 1.

    8
    
    gap?: number

    Length of each gap between dashes, in pixels at a scale of 1.

    5
    
    maxTextures?: number

    Number of textures the shader can sample: set it to the number of different textures the strokes of the context use, if more than one.

    1