TTMSFNCGraphicsPath.PointOnBezier Method
Evaluates a cubic Bezier segment at parameter
T(0.0–1.0) using pre-computed coefficients.
API unit family: TMSFNCGraphicsTypes
Declaring type: TTMSFNCGraphicsPath
Syntax
function PointOnBezier(const StartPoint: TPointF; const AX, BX, CX, AY, BY, CY, T: Double): TPointF;
Parameters
| Name | Description |
|---|---|
StartPoint |
Starting point of the Bezier segment. |
AX |
X cubic coefficient. |
BX |
X quadratic coefficient. |
CX |
X linear coefficient. |
AY |
Y cubic coefficient. |
BY |
Y quadratic coefficient. |
CY |
Y linear coefficient. |
T |
Curve parameter in the range 0.0 (start) to 1.0 (end). |
Returns
The point on the Bezier curve at parameter T.