PictureBrush.Modes

From Xojo Documentation

Enumeration

various ways in which the Image can be used as a brush.

Values

Enum Description
Default The default mode is Pad.
Pad Draws the picture in the upper-left corner then extends the pixels at the right and bottom sides to the right and bottom sides of the graphics area. Not supported for MacOS or iOS.
Tile Repeats the picture over and over in rows and columns.
Mirror Like Tile, except that each image is a horizontal mirror of the previous and alternating rows are vertical mirror of the previous rows. Not supported for MacOS or iOS.

Notes

If you attempt to set the Mode to one that is not supported on the OS upon which your app is running, an UnsupportedFormatException will occur.

See Also

Mode property.