From Xojo Documentation
|You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!|
New in 2020r2
Not all draw modes are supported on all platforms. See the Modes property for details.
This example draws a picture (a project item named "Moon") into a rectangle the size of the a Canvas using the Tile mode:
pbrush.Image = Moon
pbrush.Mode = PictureBrush.Modes.Tile
g.Brush = pbrush
g.FillRectangle(0, 0, g.Width, g.Height)
Desktop and iOS project types on all supported operating systems.