spreadMethodX

Specifies the method used to determine how the edges of the image fill are handled along the x-axis. The value is of type SpreadMethod, and it defines how pixel values are repeated or reflected when they exceed the bounds of the original image. By default, it is set to SpreadMethod.PAD, which extends the edge pixels of the image.