Next Previous Up Top Contents Index

6.6 DUIM-Graphics Module

close-path

Generic function

Summary

Closes the current path on the specified drawable.

Signature

close-path drawable => ()

Arguments

drawable
An instance of type type-union(<sheet>, <medium>).

Values

None.

Library

duim-graphics

Module

duim-graphics

Description

Closes the current path on the drawable: that is, creates a closed figure from the elements already defined.

For example, if you create a path that has four connected lines (using line-to), you can use close-path to join the first and last lines in the path to create a closed, five-sided figure.

Only closed paths can be filled, although fill-path will close a non-closed path automatically.

See also

abort-path, page 404

end-path, page 438

start-path, page 445


Functional Developer Library Reference: DUIM - 3 Dec 1998

Next Previous Up Top Contents Index