Difference between revisions of "Graphics.FillPath"

From Xojo Documentation

(Added iOS signature without autoclose parameter)
 
Line 5: Line 5:
 
| scope=public
 
| scope=public
 
| parameters=path As [[GraphicsPath]], autoClose As Boolean = False
 
| parameters=path As [[GraphicsPath]], autoClose As Boolean = False
| platform=all
+
| project=Desktop, Web, Console
 
| newinversion=2019r2
 
| newinversion=2019r2
 +
}}
 +
{{Description
 +
|text = Draws a bezier line along the path designated and fills the region with the current [[Graphics.DrawingColor|DrawingColor]] value. }}
 +
 +
{{MethodBox
 +
| name=FillPath
 +
| owner=[[Graphics]]
 +
| ownertype=class
 +
| scope=public
 +
| parameters=path As [[GraphicsPath]]
 +
| project=Mobile (iOS)
 +
| newinversion=2020r2
 
}}
 
}}
 
{{Description
 
{{Description
Line 12: Line 24:
  
 
== Notes ==
 
== Notes ==
When autoClose is True, the path will be automatically closed so that there are no gaps in it.
+
When autoClose is True (not available on iOS), the path will be automatically closed so that there are no gaps in it.
  
 
==See Also==
 
==See Also==
 
[[Graphics.DrawPath]]
 
[[Graphics.DrawPath]]

Latest revision as of 23:57, 14 December 2020

Method

Graphics.FillPath(path As GraphicsPath, autoClose As Boolean = False)

New in 2019r2

Supported on Desktop, Web, Console.

Draws a bezier line along the path designated and fills the region with the current DrawingColor value.


Method

Graphics.FillPath(path As GraphicsPath)

New in 2020r2

Supported on Mobile (iOS).

Draws a bezier line along the path designated and fills the region with the current DrawingColor value.

Notes

When autoClose is True (not available on iOS), the path will be automatically closed so that there are no gaps in it.

See Also

Graphics.DrawPath