[Overview][Types][Procedures and functions][Index] Reference for unit 'GraphMath' (#lazutils)

Bezier

Gets a TBezier instance representing the specified Bezier control points.

Declaration

Source position: graphmath.pp line 52

function Bezier(

  const C1: TFloatPoint;

  const C2: TFloatPoint;

  const C3: TFloatPoint;

  const C4: TFloatPoint

):TBezier; overload;

function Bezier(

  const C1: TPoint;

  const C2: TPoint;

  const C3: TPoint;

  const C4: TPoint

):TBezier; overload;

Arguments

C1

  

Control point on the parametric curve. C1 is an endpoint.

C2

  

Control point on the parametric curve. C2 is a directional control point for a Quadratic or Cubic Bezier.

C3

  

Control point on the parametric curve. C3 is a directional control point for a Cubic Bezier.

C4

  

Control point on the parametric curve. C4 is an endpoint.

Function result

TBezier instance with the values in C1, C2, C3, and C4.

Arguments

C1

  

Control point on the parametric curve. C1 is an endpoint.

C2

  

Control point on the parametric curve. C2 is a directional control point for a Quadratic or Cubic Bezier.

C3

  

Control point on the parametric curve. C3 is a directional control point for a Cubic Bezier.

C4

  

Control point on the parametric curve. C4 is an endpoint.


Version 4.0 Generated 2025-05-03 Home