menu
sdl3 package
documentation
sdl3/ex/dart/rectangle.dart
RectangleEx
center property
center property
dark_mode
light_mode
center
property
Point
<
double
>
get
center
Implementation
math.Point<double> get center => math.Point<double>(left + width / 2, top + height / 2);
sdl3 package
documentation
sdl3/ex/dart/rectangle
RectangleEx
center property
RectangleEx extension on
Rectangle
<
double
>