Mac OS X
Components Crossplatform Mac & Win Server Client Old Guides Examples
New in version: 7.1 7.2 7.3 7.4 7.5 8.0 8.1 8.2 8.3 8.4 Statistic
Closes current path.
|Component||Version||macOS||Windows||Server||FileMaker Cloud||FileMaker iOS SDK|
|The PDF reference returned from DynaPDF.New.|
|FillMode||Fill mode. Can be FillNoClose, StrokeNoClose, FillStrokeNoClose, Fill, Stroke, FillStroke, FillEvOdd, FillStrokeEvOdd, FillEvOddNoClose, FillStrokeEvOddNoClose, NoFill or Close.||"fill"|
Returns OK or error message.
DescriptionCloses current path.
In PDF all vector graphics are paths. Paths can be filled, stroked, or both. Filled path can be drawn by applying the nonzero winding number rule or the even-odd rule (see Path Construction and Painting for further information). Both rules produce different results on complex paths but they have no effect on simple paths like rectangles, circles, and so on.
The filling rules are can be used to produce holes in a path; an area that is left unpainted. The draw direction is important when drawing simple shapes like rectangles and so on. See DynaPDF.SetDrawDirection for further information.
The flag NoFill can be used to discard a path that was already drawn.
Paths are invisible until they will be filled or stroked. DynaPDF displays a warning if an unused path is in memory when drawing an image, text, or when closing the page. The function checks whether a path is in memory prior execution. If no open path is detected the function returns with an error message.
See also ClosePath function in DynaPDF manual.
Created 18th August 2014, last changed 18th August 2014
Feedback: Report problem or ask question.
MBS FileMaker Plugins