TTMSFNCGraphicsPath.CreateBezier Method
Samples evenly-spaced points along a Bezier curve and returns them as a polygon.
API unit family: TMSFNCGraphicsTypes
Declaring type: TTMSFNCGraphicsPath
Syntax
function CreateBezier(const Bezier: TTMSFNCGraphicsPathCubicBezier; const PointCount: Integer): TTMSFNCGraphicsPathPolygon;
Parameters
| Name | Description |
|---|---|
Bezier |
Cubic Bezier curve definition. |
PointCount |
Number of evenly-spaced sample points. |
Returns
Array of sampled points approximating the curve.