fromBounds static method

  1. @Deprecated('Use RectExtension.getBounds() instead. This function will be removed ' 'in v1.2.0')
Rect fromBounds(
  1. List<Vector2> pts
)

Creates a Rect that represents the bounds of the list pts.

Implementation

@Deprecated(
  'Use RectExtension.getBounds() instead. This function will be removed '
  'in v1.2.0',
)
static Rect fromBounds(List<Vector2> pts) {
  return getBounds(pts);
}