Converts this path into a smooth approximation of itself that contains only Bezier curve segments.
[Visual Basic 6.0] Sub Smooth(
ByVal maxAllowableOffset As Double _
)
[Visual Basic .NET] Public Sub Smooth ( _ ByVal maxAllowableOffset As Double _ )
[C#] public void Smooth ( double maxAllowableOffset );
[Java] public void smooth ( double maxAllowableOffset ) throws IOException, AutomationException
[C++]
HRESULT Smooth(
double maxAllowableOffset
);
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 | IPath.SmoothLocal Method | IPolycurve.Smooth Method | IPath.Smooth Method | IBezierCurve Interface