Adds a sequence of connected Bézier splines to the current figure of this path.
Namespace: RSGdiPlusGraphics
Delphi
|
public
function AddBezier( const Pt1, Pt2, Pt3, Pt4: TPointF ): TRSGPPath; overload;
|
Parameters
Pt1
Type: TPointF
Start Point of the connected spline
Pt2
Type: TPointF
First Control Point of the connected spline
Pt3
Type: TPointF
Second Control Point of the connected spline
Pt4
Type: TPointF
End Point of the connected spline
Return Value
Type: TRSGPPath
The function returns the current path so that you can chain together commands, e.g., aPath.MoveTo(PointF(50,50)).LineTo(PointF(100,100).AddPolygon(Polygon1).AddEllipse(RectF(10,10,200,100));
|
Reference
•RSGdiPlusGraphics.TRSGPPath.AddArc(Single,Single,Single,Single,Single,Single) •RSGdiPlusGraphics.TRSGPPath.AddPie(Single,Single,Single,Single,Single,Single) •RSGdiPlusGraphics.TRSGPPath.AddEllipse(TRectF) •RSGdiPlusGraphics.TRSGPPath.AddRectangle(TRectF,Single,Single,TRSCorners,TRSCornerType) •RSGdiPlusGraphics.TRSGPPath.AddLine(TPointF,TPointF) •RSGdiPlusGraphics.TRSGPPath.AddPolygon(TPointF[]) •RSGdiPlusGraphics.TRSGPPath.Points[Integer] •RSGdiPlusGraphics.TRSGPPath.AddText(TPointF,String,TRSGPFont,TRSGPStringFormat) •RSGdiPlusGraphics.TRSGPPath.AddPath(TRSGPPath) •TRSGPPath •RSGdiPlusGraphics |