spreadMethodY
Specifies the method used to determine how the edges of the image fill are handled along the y-axis. The value is of type SpreadMethod, allowing for pixel values to be extended, reflected, or repeated when exceeding the bounds of the image. By default, it is set to SpreadMethod.PAD, which extends the edge pixels of the image.