svgControlPoints: Get Control Points

View source: R/svg.R

svgControlPointsR Documentation

Get Control Points

Description

Get Control Points

Usage

svgControlPoints(x0, y0, x1, y1, x2, y2, t = 0.3)

Arguments

x0, y0

coordinates of previous point

x1, y1

coordinates of main point

x2, y2

coordinates of next point

t

curving factor (0-1)

Value

x- and y-coordinates of control points (x1, y1, x2, y2)


webmorphR documentation built on June 2, 2022, 5:07 p.m.