extract_paths_from_svg: Extract list of polygons from a SVG file

Description Usage Arguments Value See Also

Description

This function takes SVG file name as argument, and returns a list of matrices, each representing a polygon. The list of matrices represent the geometry of the shape.

Usage

1
extract_paths_from_svg(file_name, close_paths = TRUE)

Arguments

file_name

path to a SVG file with "path" items in it.

close_paths

Should the path be closed automatically, i.e. last point = first point ? Default to TRUE.

Value

A list of matrices, each representing a polygon.

See Also

extract_paths_from_word


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