Please explain to me how this device uses PWM to limit current

Current status: replaced cheap Chinese power supply, 4 LEDs now, moving towards multiplexing and hoping it works: