The electronic shutter records data from the sensor line by line, top to bottom.
Many mirrorless camera models now offer a choice of mechanical or electronic shutter. The mechanical shutter functions by opening two curtains at exactly the same moment, giving consistent exposure on the camera sensor. The electronic shutter records data from the sensor line by line, top to bottom.