Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

PathSegment-class

Class "PathSegment"


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


grImport2

Importing 'SVG' Graphics

v0.2-0
GPL (>= 2)
Authors
Simon Potter [aut], Paul Murrell [aut, cre] (<https://orcid.org/0000-0002-3224-8858>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.