PathSegment-class: Class '"PathSegment"'

Description Slots Methods Author(s) See Also

Description

A segment of a path that is not intended to be used directly, merely as a convenience base class for path segment operators.

Slots

x:

Object of class "numeric". An x-location.

y:

Object of class "numeric". A y-location.

Methods

applyTransform

signature(object = "PathSegment", tm = "matrix"): When given a 3x3 numeric transformation matrix, the points in the segment are transformed, and produce a new object representing a path segment. Not intended to be used directly on path segments, but objects that inherit from path segments (e.g. the "M", "L", "C", and "Z" operators.

Author(s)

Simon Potter

See Also

PathMoveTo, PathClosePath, PathLineTo, PathCurveTo.


sjp/grImport2 documentation built on May 30, 2019, 12:06 a.m.