getMonitorPosition function

Vector2 getMonitorPosition(
  1. int monitor
)

Get specified monitor position.

Implementation

Vector2 getMonitorPosition(int monitor) {
  return Vector2.fromRef(library.GetMonitorPosition(monitor));
}