Graphics.FillPath
From Xojo Documentation
Method
Graphics.FillPath(path As GraphicsPath, autoClose As Boolean = False)
New in 2019r2
Supported for all project types and targets.
New in 2019r2
Supported for all project types and targets.
Draws a bezier line along the path designated and fills the region with the current DrawingColor value.
Notes
When autoClose is True, the path will be automatically closed so that there are no gaps in it.