PendingPath
A path waiting to be painted: fill it, stroke it, both, or clip to it.
Methods
Section titled “Methods”clip()
Section titled “clip()”clip(
rule?):Surface
Clips what is drawn next to the path, until the next restore.
Parameters
Section titled “Parameters”FillRule = "nonZero"
Returns
Section titled “Returns”the surface.
fill()
Section titled “fill()”fill(
rule?):Surface
Fills the path with the fill colour.
Parameters
Section titled “Parameters”FillRule = "nonZero"
Returns
Section titled “Returns”the surface.
fillStroke()
Section titled “fillStroke()”fillStroke(
rule?,style?):Surface
Fills, then strokes the path.
Parameters
Section titled “Parameters”FillRule = "nonZero"
style?
Section titled “style?”StrokeStyle = {}
Returns
Section titled “Returns”the surface.
stroke()
Section titled “stroke()”stroke(
style?):Surface
Strokes the path with the stroke colour and style.
Parameters
Section titled “Parameters”style?
Section titled “style?”StrokeStyle = {}
Returns
Section titled “Returns”the surface.