TRSGPPath.AddBezier(Single,Single,Single,Single,Single,Single,Single,Single) Method |
Scroll Prev Top Next More |
Adds a sequence of connected Bézier splines to the current figure of this path.
Namespace: RSGdiPlusGraphics
Delphi |
public |
Parameters
x1
Type: Single
X Coordinate of the start point
y1
Type: Single
Y Coordinate of the start point
x2
Type: Single
X Coordinate of the first control point
y2
Type: Single
Y Coordinate of the first control point
x3
Type: Single
X Coordinate of the second control point
y3
Type: Single
Y Coordinate of the second control point
x4
Type: Single
X Coordinate of the end point
y4
Type: Single
Y Coordinate of the end point
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)); |