GdiExtensionMethodsShortenBezierCurve Method |
Shortens a Bezier curve by distances from its start and end.
Namespace: Altaxo.Graph.GdiAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static PointF[]? ShortenBezierCurve(
PointF[] points,
double distanceFromStart,
double distanceFromEnd
)
Parameters
- points PointF
- The Bezier curve control points.
- distanceFromStart Double
- The distance to trim from the start of the curve.
- distanceFromEnd Double
- The distance to trim from the end of the curve.
Return Value
PointFThe shortened curve, or
if the curve cannot be shortened.
See Also