write_scan_line method

write_scan_line

Writes the whole scan line to the specified scan line index.

def write_scan_line(self, scan_line_index, pixels):
    ...
ParameterTypeDescription
scan_line_indexintZero based index of the scan line.
pixelslistThe pixel colors array as ARGB to write.

write_scan_line

Writes the whole scan line to the specified scan line index.

def write_scan_line(self, scan_line_index, pixels):
    ...
ParameterTypeDescription
scan_line_indexintZero based index of the scan line.
pixelslistThe pixel colors array to write.

See Also