A modified version of the PIXI.smooth.DashLineShader that supports an offset.

Hierarchy

  • any
    • DashLineShader

Constructors

Constructors

  • Parameters

    • Optionaloptions: { dash?: number; gap?: number; offset?: number } = {}

      The options

      • Optionaldash?: number

        The length of the dash

      • Optionalgap?: number

        The length of the gap

      • Optionaloffset?: number

        The offset of the dashes

    Returns DashLineShader