How does pyqt5 display a part of a picture?

such as

QPixmap("./res/shadow/left_top.png")

is used to make the upper left corner of the window shadow,
but this requires 8 pictures, can you use different parts of a picture? Similar to the nine palace grid cut chart
Thank you

Jul.28,2021
Menu