fromBounds static method
- @Deprecated('Use RectExtension.getBounds() instead. This function will be removed ' 'in v1.2.0')
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);
}