PathData-class: Class '"PathData"'

PathData-classR Documentation

Class "PathData"

Description

An object that represents a sequence of path data segments in an SVG path.

Slots

segments:

Object of class "list" ~~

Methods

applyTransform

signature(object = "PathData", tm = "matrix"): A transformation matrix to apply to all path segments in the path that object contains. Returns a new "PathData" object with each path segment transformed to their new locations.

Author(s)

Simon Potter

See Also

PathData, PathMoveTo, PathLineTo, PathCurveTo.


grImport2 documentation built on Sept. 11, 2024, 5:19 p.m.