extract_paths_from_word: Extract list of polygons from a words

Description Usage Arguments Details Value See Also

Description

This function takes a word as argument, and returns a list of matrices, each representing a polygon. The list of matrices represent the geometry of each letter of the word.

Usage

1
extract_paths_from_word(word, spacing = 5)

Arguments

word

a character vector made of letters or LETTERS.

spacing

additional argument to add to the spacing between letters.

Details

This function first calls extract_paths_from_letter on each character. Then it shifts each letter to the right, one after the other so that they appear next to each other. Like in a word.

Value

A list of matrices, each representing a polygon.

See Also

extract_paths_from_letter


pierrejacob/RShapeTarget documentation built on May 25, 2019, 6:07 a.m.