Function getCanvasBoundingBox

  • Measuring the bounds of a canvas' visible (non-transparent) pixels.

    Parameters

    • canvas: ICanvas

      The canvas to measure.

    Returns BoundingBox

    The bounding box of the canvas' visible pixels.

    Memberof

    PIXI.utils

    Since

    7.1.0

Generated using TypeDoc