if (do_name() != 'Home') : ?>
bezier.contours()
endif ?>Syntax
contours(path)
Description
Returns the contours in the given path, as a list of paths. The path can be anything returned from endpath() to textpath() to line(). A path is basically made up of segments: two points and the curve in between. A group of segments that has a beginning and an ending, or is closed, is a contour. Character glyphs are a composite of contours (for example: the inner and outer oval of the character "o" are two contours.
Example
bezier = ximport("bezier") nofill() stroke(random(0.5)) p = textpath("contours", 10, 100) for path in bezier.contours(p): drawpath(path) stroke(random(0.5))