Curves
Interpolate between points to produce a continuous shape. 在点之间进行插值以产生连续的形状。
- d3.curveBasis - a cubic basis spline, repeating the end points.三次基样条,重复端点
- d3.curveBasisClosed - a closed cubic basis spline.封闭的三次基样条。
- d3.curveBasisOpen - a cubic basis spline.三次基样条。
- d3.curveBundle - a straightened cubic basis spline.拉直的三次基样条。
- bundle.beta - set the bundle tension beta.设置束张力 beta。
- d3.curveBumpX - a cubic Bézier spline with horizontal tangents.具有水平切线的三次贝塞尔样条。
- d3.curveBumpY - a cubic Bézier spline with vertical tangents.具有垂直切线的三次贝塞尔样条。
- d3.curveCardinal - a cubic cardinal spline, with one-sided difference at each end.三次基数样条,每端都有一侧差异。
- d3.curveCardinalClosed - a closed cubic cardinal spline.闭合三次基数样条。
- d3.curveCardinalOpen - a cubic cardinal spline.三次基数样条。
- cardinal.tension - set the cardinal spline tension.设置基数样条张力
- d3.curveCatmullRom - a cubic Catmull–Rom spline, with one-sided difference at each end.三次 Catmull-Rom 样条,每一端都有一侧差异。
- d3.curveCatmullRomClosed - a closed cubic Catmull–Rom spline.闭合三次 Catmull-Rom 样条。
- d3.curveCatmullRomOpen - a cubic Catmull–Rom spline.三次 Catmull-Rom 样条。
- catmullRom.alpha - set the Catmull–Rom parameter alpha.设置 Catmull–Rom 参数 alpha值。
- d3.curveLinear - a polyline.多段线
- d3.curveLinearClosed - a closed polyline.闭合的多段线
- d3.curveMonotoneX - a cubic spline that, given monotonicity in x, preserves it in y.三次样条,给定 x 中的单调性,将其保留在 y 中。
- d3.curveMonotoneY - a cubic spline that, given monotonicity in y, preserves it in x.三次样条,给定 y 中的单调性,将其保留在 x 中。
- d3.curveNatural - a natural cubic spline.自然三次样条。
- d3.curveStep - a piecewise constant function.
- d3.curveStepAfter - a piecewise constant function.分段常数函数
- d3.curveStepBefore - a piecewise constant function.分段常数函数
- curve.areaStart - start a new area segment.开始一个新的区域段
- curve.areaEnd - end the current area segment.结束当前区域段。
- curve.lineStart - start a new line segment.开始一个新的线段
- curve.lineEnd - end the current line segment.结束当前线段。
- curve.point - add a point to the current line segment.向当前线段添加一个点