menu
flame package
documentation
extensions.dart
Vector2Extension
toRect method
toRect method
dark_mode
light_mode
toRect
method
Rect
toRect
(
)
Creates a
Rect
starting in origin and going the
Vector2
Implementation
Rect toRect() => Rect.fromLTWH(0, 0, x, y);
flame package
documentation
extensions
Vector2Extension
toRect method
Vector2Extension extension on
Vector2