This document is archived and information here might be outdated. Recommended version. |
Converts this path into a smooth approximation of itself that contains only Bezier curve segments.
[Visual Basic .NET] Public Sub Smooth ( _ ByVal maxAllowableOffset As Double _ )
[C#] public void Smooth ( double maxAllowableOffset );
[C++]
HRESULT Smooth(
double maxAllowableOffset
);
[C++]
Parameters maxAllowableOffset
maxAllowableOffset is a parameter of type double
Converts the Path into a Path containing only BezierCurve segments. The created BezierCurve path is a Generalization of the original path that has a maximum deviation of maxDeviation from the original path. If maxDeviation = 0, all of the original vertices are maintained. At each vertex, the adjoining BezierCurves have complementary tangents which creates a continuous (smooth) transition between segments.
IPath Interface | IPolycurve.Smooth Method | IPath.SmoothLocal Method | IPath.Smooth Method | IBezierCurve Interface