Unit 'Graphics' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

TCanvas.DoPolyBezier

Performs actions needed to draw a Bézier curve using the specified control points.

Declaration

Source position: graphics.pp line 1027

protected procedure TCanvas.DoPolyBezier(

  Points: PPoint;

  NumPts: Integer;

  Filled: Boolean = False;

  Continuous: Boolean = False

); override;

Arguments

Points

  

Pointer to the control points for the Bézier curve.

NumPts

  

Number of control points in the Pointer.

Filled

  

True if interior of the Bézier curve is filled; default is False.

Continuous

  

True if the Bézier end-points are continuous (without kinks); default is False.

Description

Calls the PolyBezier method using the values in Points, NumPts, Filled, and Continuous as arguments.

See also

TCanvas.PolyBezier

  

Polybezier draws cubic Bézier curves.