Fills the interior a closed cardinal spline curve defined by an array of
PointF structures.
[Visual Basic]
Public Sub FillClosedSpline(ByVal
Points() As PointF,ByVal Color As
Color, ByVal tension As Single)
[C#]
public void FillClosedSpline(PointF[] Points,Color Color, float tension);
Parameters:
- Points
- Array of PointF structures that define the spline.
Color
Color of the filling of the inner area of the curve spline Cardinal closed.
tension
Value greater than or equal to 0.0F that specifies the tension of the curve.
Return value:
None.
Remarks:
- This method fills the interior of a closed cardinal spline that passes through each point in the array. If the last point does not match the first point, an additional curve segment is added from the last point to the first point to close it.
- The array of points must contain at least four PointF structures.
- The tension parameter determines the shape of the spline. If the value of the tension parameter is 0.0F, this method draws straight line segments to connect the points. Usually, the tension parameter is less than or equal to 1.0F. Values over 1.0F produce unusual results.
See also:
Clear | DrawArc | DrawClosedSpline | DrawEllipse | DrawLines | DrawPath | DrawPoint | DrawPolygon | DrawRectangle | DrawSpline |
FillEllipse | FillPath | FillPolygon |
FillRectangle | SavePicture
Copyright © 2007 LabDevTools. All Rights Reserved.