Indicates object whose size can be fitted into an arbitrary Vec2

Hierarchy

Methods

Methods

  • Fit object to bounding box.

    Returns

    Object itself

    Parameters

    • bounds: Point

      Bounds in pixels

    Returns Fittable