pixi-scroll-mask - v0.1.0
    Preparing search index...

    Class ScrollMask

    Fixed window view with internally scrollable container.

    Hierarchy

    • Container
      • ScrollMask
    Index

    Constructors

    • Parameters

      • OptionalscrollBoxOptions: ScrollBoxOptions

      Returns ScrollMask

    Accessors

    • get scrollX(): number

      Current scroll on the x-axis

      Returns number

    • set scrollX(val: number): void

      Current scroll on the x-axis

      Parameters

      • val: number

      Returns void

    • get scrollY(): number

      Current scroll on the y-axis

      Returns number

    • set scrollY(val: number): void

      Current scroll on the y-axis

      Parameters

      • val: number

      Returns void

    Methods

    • Type Parameters

      • U extends (ContainerChild | IRenderLayer)[]

      Parameters

      • ...children: U

      Returns U[0]

    • Scrolls to the given position.

      Parameters

      • position: Partial<PointData>

        x and y position object.

        • x

          x position.

        • y

          y position.

      Returns void